Browse Source

Only define NULL when not defined yet

ceriel 33 years ago
parent
commit
77fd6f2b37
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/minix/include/string.h

+ 2 - 0
lib/minix/include/string.h

@@ -5,7 +5,9 @@
 #ifndef _STRING_H
 #define _STRING_H
 
+#ifndef NULL
 #define NULL    ((void *)0)
+#endif
 
 #ifndef _SIZE_T
 #define _SIZE_T