X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=3990f8d75b9638c93dd3692336038df322163148;hb=46a2db0465372eae273b1ff827e465a779339198;hp=97fc0ec0d5b1ffeffde95756c2f83839024f83ca;hpb=31f6e9071af7d014dac71d42d61594016832868c;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 97fc0ec..3990f8d 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.2 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 * 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 */