iconf is not needed so to not check for it
[rrdtool.git] / src / rrd_is_thread_safe.h
index d4b8f59..85769ed 100644 (file)
@@ -17,7 +17,10 @@ extern "C" {
 #endif
 
 #undef strerror
+
+#if( 2 < __GNUC__ )
 #pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
+#endif
 
 #ifdef  __cplusplus
 }