diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 00c3909d196..2442b2d1054 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1149,6 +1149,8 @@ __builtin_saveregs () #endif #ifdef L_eprintf +#ifndef inhibit_eprintf + #undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */ #include /* This is used by the `assert' macro. */ @@ -1163,6 +1165,8 @@ __eprintf (string, expression, line, filename) fflush (stderr); abort (); } + +#endif #endif #ifdef L_bb