lots of other places define NULL
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 17 Aug 1989 03:00:09 +0000 (19:00 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 17 Aug 1989 03:00:09 +0000 (19:00 -0800)
SCCS-vsn: sys/sys/unistd.h 5.3

usr/src/sys/sys/unistd.h

index cbd06da..2348a56 100644 (file)
@@ -14,7 +14,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)unistd.h    5.2 (Berkeley) %G%
+ *     @(#)unistd.h    5.3 (Berkeley) %G%
  */
 
 /* compile-time symbolic constants */
  */
 
 /* compile-time symbolic constants */
@@ -43,7 +43,9 @@
 #define        STDOUT_FILENO           1       /* standard output value, stdout */
 #define        STDERR_FILENO           2       /* standard error value, stdout */
 
 #define        STDOUT_FILENO           1       /* standard output value, stdout */
 #define        STDERR_FILENO           2       /* standard error value, stdout */
 
+#ifndef NULL
 #define        NULL    0                       /* null pointer constant */
 #define        NULL    0                       /* null pointer constant */
+#endif
 
 /* configurable pathname variables */
 #define        _PC_LINK_MAX            1
 
 /* configurable pathname variables */
 #define        _PC_LINK_MAX            1