OSDN Git Service

* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
authorcorinna <corinna>
Mon, 17 Dec 2001 21:32:24 +0000 (21:32 +0000)
committercorinna <corinna>
Mon, 17 Dec 2001 21:32:24 +0000 (21:32 +0000)
conditionalized including of getopt stuff.

newlib/ChangeLog
newlib/libc/sys/cygwin/include/unistd.h

index b4c2eb6..f5fab93 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
+
+       * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
+       conditionalized including of getopt stuff.
+
 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
index a293861..9818176 100644 (file)
@@ -4,6 +4,8 @@
 #define _UNISTD_H_
 
 # include <sys/unistd.h>
+# define __UNISTD_GETOPT__
 # include <getopt.h>
+# undef __UNISTD_GETOPT__
 
 #endif /* _UNISTD_H_ */