diff options
Diffstat (limited to 'lib/gl/stdint.in.h')
-rw-r--r-- | lib/gl/stdint.in.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/gl/stdint.in.h b/lib/gl/stdint.in.h index 4251ef5255..3f14433832 100644 --- a/lib/gl/stdint.in.h +++ b/lib/gl/stdint.in.h @@ -23,6 +23,10 @@ #ifndef _GL_STDINT_H +#if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +#endif + /* When including a system file that in turn includes <inttypes.h>, use the system <inttypes.h>, not our substitute. This avoids problems with (for example) VMS, whose <sys/bitypes.h> includes @@ -49,9 +53,6 @@ in <inttypes.h> would reinclude us, skipping our contents because _GL_STDINT_H is defined. The include_next requires a split double-inclusion guard. */ -# if __GNUC__ >= 3 -@PRAGMA_SYSTEM_HEADER@ -# endif # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #endif |