]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/sys/param.h: Include stddef.h to define NULL.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 31 Oct 2012 16:48:50 +0000 (16:48 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 31 Oct 2012 16:48:50 +0000 (16:48 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/sys/param.h

index fadd8a4e25c6df8b37fa581e82bc1ad05e9109fd..a0eb475727dc26b7621cfac872b6486aaee62e87 100644 (file)
@@ -1,3 +1,7 @@
+2012-10-31  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/sys/param.h: Include stddef.h to define NULL.
+
 2012-10-31  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using
index 70c4ac98ec117e1b00683e32eff0f3a6be4aed3b..f2a7473ee4e4b2a9c3d724182fa4c6b2e515ef86 100644 (file)
@@ -13,6 +13,9 @@
 /* Linux includes limits.h, but this is not universally done. */
 #include <limits.h>
 
+#define __need_NULL
+#include <stddef.h>
+
 /* Max number of open files.  The Posix version is OPEN_MAX.  */
 /* Number of fds is virtually unlimited in cygwin, but we must provide
    some reasonable value for Posix conformance */
    BSD variant of this constant. */
 #define DEV_BSIZE      1024
 
-#ifndef NULL
-#define NULL            0L
-#endif
-
 #ifndef NBBY
 #define    NBBY 8
 #endif
This page took 0.038999 seconds and 5 git commands to generate.