projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/rrd_daemon.c: Impemented the `stats' command.
[rrdtool.git]
/
src
/
rrd_is_thread_safe.h
diff --git
a/src/rrd_is_thread_safe.h
b/src/rrd_is_thread_safe.h
index
3ff7388
..
0db2240
100644
(file)
--- a/
src/rrd_is_thread_safe.h
+++ b/
src/rrd_is_thread_safe.h
@@
-1,5
+1,5
@@
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.
2.0 Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.
3.0 Copyright by Tobi Oetiker, 1997-2008
* 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
@@
-13,14
+13,16
@@
#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 */