* cygerrno.h (__reg3): Define.

* cygmalloc.h (__reg3): Ditto.
This commit is contained in:
Christopher Faylor 2013-01-21 07:42:02 +00:00
parent a526df1e20
commit 6d34849474
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-01-21 Christopher Faylor <me.cygwin2013@cgf.cx>
* cygerrno.h (__reg3): Define.
* cygmalloc.h (__reg3): Ditto.
2013-01-21 Christopher Faylor <me.cygwin2013@cgf.cx>
* cygerrno.h: Conditionally define __regN for cygserver.

View File

@ -19,8 +19,8 @@ details. */
#ifndef __reg2
# define __reg2 __stdcall __attribute__ ((regparm (2)))
#endif
#ifndef __reg2
# define __reg2 __stdcall __attribute__ ((regparm (2)))
#ifndef __reg3
# define __reg3 __stdcall __attribute__ ((regparm (3)))
#endif
void __reg3 seterrno_from_win_error (const char *file, int line, DWORD code);

View File

@ -17,8 +17,8 @@ extern "C" {
#ifndef __reg2
# define __reg2 __stdcall __attribute__ ((regparm (2)))
#endif
#ifndef __reg2
# define __reg2 __stdcall __attribute__ ((regparm (2)))
#ifndef __reg3
# define __reg3 __stdcall __attribute__ ((regparm (3)))
#endif
void __reg1 dlfree (void *p);
void __reg1 *dlmalloc (unsigned size);