update from main archive
authordrepper <drepper>
Fri, 27 Sep 1996 03:28:59 +0000 (03:28 +0000)
committerdrepper <drepper>
Fri, 27 Sep 1996 03:28:59 +0000 (03:28 +0000)
sysdeps/mach/hurd/errnos.awk

index 100e4b1..915cb11 100644 (file)
@@ -149,6 +149,7 @@ END \
     print "/* errno is a per-thread variable.  */";
     print "#include <hurd/threadvar.h>";
     print "#define errno       (*__hurd_errno_location ())";
+    print "#define __set_errno(val) errno = (val)";
     print "";
     print "#endif /* <errno.h> included.  */";
     print "";