OSDN Git Service

* cygerrno.h: Protect use of NTSTATUS for only when we need it.
authorcgf <cgf>
Tue, 20 Apr 2010 03:32:36 +0000 (03:32 +0000)
committercgf <cgf>
Tue, 20 Apr 2010 03:32:36 +0000 (03:32 +0000)
* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.

winsup/cygwin/ChangeLog
winsup/cygwin/cygerrno.h

index 9bbfb3f..19baa9b 100644 (file)
@@ -1,3 +1,11 @@
+2010-04-19  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * cygerrno.h: Protect use of NTSTATUS for only when we need it.
+
+2010-04-19  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * lib/_cygwin_crt0_common.cc: Remove unneeded declarations.
+
 2010-04-19  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_tty.cc (fhandler_tty_slave::fch_set_sd): Remove commented out
index e1a1af0..d1a6c6a 100644 (file)
@@ -13,7 +13,9 @@ details. */
 #include <errno.h>
 
 void __stdcall seterrno_from_win_error (const char *file, int line, DWORD code) __attribute__ ((regparm(3)));
+#ifdef _NTDLL_H
 void __stdcall seterrno_from_nt_status (const char *file, int line, NTSTATUS status) __attribute__ ((regparm(3)));
+#endif
 void __stdcall seterrno (const char *, int line) __attribute__ ((regparm(2)));
 int __stdcall geterrno_from_win_error (DWORD code = GetLastError (), int deferrno = 13 /*EACCESS*/) __attribute__ ((regparm(2)));