X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=8630c9e4a9fca379522e7ce3ac3c3eb8b7ef0229;hp=521edec31de61c65d56534a7d941105c8665b586;hb=ce30e9e1379022835687aa08b7712e27372e05ec;hpb=c0be57bdf5f3fef44227f2e0acf6a7a74c1a7620 diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 521edec..8630c9e 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc8 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.4.1 Copyright by Tobi Oetiker, 1997-2009 * This file: Copyright 2003 Peter Stamfest * & Tobias Oetiker * Distributed under the GPL @@ -13,14 +13,16 @@ #define _RRD_IS_THREAD_SAFE_H #ifdef __cplusplus -extern "C" { +extern "C" { #endif #undef strerror + +#if( 2 < __GNUC__ ) #pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror +#endif #ifdef __cplusplus } #endif - #endif /*_RRD_IS_THREAD_SAFE_H */