diff lib/string.in.h @ 10655:8668b19a7032

Avoid gcc warnings because of #pragma GCC system_header on older gcc.
author Bruno Haible <bruno@clisp.org>
date Sat, 18 Oct 2008 02:43:18 +0200
parents a821fdd7b2b7
children c98fca1ff8b8
line wrap: on
line diff
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -18,7 +18,9 @@
 
 #ifndef _GL_STRING_H
 
+#if __GNUC__ >= 3
 @PRAGMA_SYSTEM_HEADER@
+#endif
 
 /* The include_next requires a split double-inclusion guard.  */
 #@INCLUDE_NEXT@ @NEXT_STRING_H@