X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=5137c2d9b6ce1a9e5c34b3e1b800da56c259d83f;hp=519712cfe34d8dbbe7071b5e4c8b09b2e8bb17a9;hb=2a9b0ff9cf29cf82b7b12ea80889c59273d66008;hpb=5a7eb5b62b485b61ddb80a40ef22f4337cf2289f diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 519712c..5137c2d 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.5 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.4.2 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 */