]> sourceware.org Git - newlib-cygwin.git/commitdiff
* cygerrno.h: Conditionally define __regN for cygserver.
authorChristopher Faylor <me@cgf.cx>
Mon, 21 Jan 2013 07:34:07 +0000 (07:34 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 21 Jan 2013 07:34:07 +0000 (07:34 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygerrno.h

index 8c953e85c3c852536a74d6412239e86497a140b0..3878cfeb51aab41b7f637abe86247223cc6da062 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-21  Christopher Faylor  <me.cygwin2013@cgf.cx>
+
+       * cygerrno.h: Conditionally define __regN for cygserver.
+
 2013-01-20  Christopher Faylor  <me.cygwin2013@cgf.cx>
 
        * malloc_wrapper.cc (malloc_init): Re-add inadvertently dropped comment
index c861907b6f6e380fe7ed2e49460f5717818991ff..677b3b0afeaea088f493d04fe933a55780df43b0 100644 (file)
@@ -13,6 +13,16 @@ details. */
 #define _CYGERRNO_H
 #include <errno.h>
 
+#ifndef __reg1
+# define __reg1 __stdcall __attribute__ ((regparm (1)))
+#endif
+#ifndef __reg2
+# define __reg2 __stdcall __attribute__ ((regparm (2)))
+#endif
+#ifndef __reg2
+# define __reg2 __stdcall __attribute__ ((regparm (2)))
+#endif
+
 void __reg3 seterrno_from_win_error (const char *file, int line, DWORD code);
 void __reg3 seterrno_from_nt_status (const char *file, int line, NTSTATUS status);
 void __reg2 seterrno (const char *, int line);
This page took 0.030282 seconds and 5 git commands to generate.