]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/libio.h
update from main archive 961211
[thirdparty/glibc.git] / libio / libio.h
index acc34c0d7ae2ee8da20aa31a362fdccb254f3cb1..49f1d8ccd4ef313f1ab31d7f379d27ffbf2ffec3 100644 (file)
@@ -83,7 +83,8 @@ the executable file might be covered by the GNU General Public License. */
 #define EOF (-1)
 #endif
 #ifndef NULL
-#ifdef __GNUG__
+#if defined __GNUG__ && \
+    (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
 #define NULL (__null)
 #else
 #if !defined(__cplusplus)