(L_bb): Undef NULL before including <stdio.h>.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 1993 01:42:49 +0000 (01:42 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 1993 01:42:49 +0000 (01:42 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5880 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/libgcc2.c

index d1383bb..0fa8c8c 100644 (file)
@@ -1319,6 +1319,7 @@ BLOCK_PROFILER_CODE
    systems that don't provde tcov support.  At present,
    it requires atexit and stdio.  */
 
+#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch.  */
 #include <stdio.h>
 
 #ifdef HAVE_ATEXIT