index ba7bc215ba934ea1c9db6176f1559ffda7578190..3990f8d75b9638c93dd3692336038df322163148 100644 (file)
--- a/src/rrd_is_thread_safe.h
+++ b/src/rrd_is_thread_safe.h
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.2rc5 Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
#define _RRD_IS_THREAD_SAFE_H
#ifdef __cplusplus
#define _RRD_IS_THREAD_SAFE_H
#ifdef __cplusplus
-extern "C" {
+extern "C" {
#endif
#undef strerror
#endif
#undef strerror
+
+#if( 2 < __GNUC__ )
#pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
#pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
+#endif
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
-
#endif /*_RRD_IS_THREAD_SAFE_H */
#endif /*_RRD_IS_THREAD_SAFE_H */