X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=a56a6247d74f8d2f16fbacdee869c607a7bcbdb8;hb=4dbd51c362841d00433c95c9b671e818ec2d6df3;hp=3b61053cc4446eba11f4d2b213b3a72ce7c64a3c;hpb=f8b321ed9be936455166a5e9297199e84b048526;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 3b61053..a56a624 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc7 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 * 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 */