X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=a56a6247d74f8d2f16fbacdee869c607a7bcbdb8;hp=3491b1174b00feada299f4dd848c98792d3b6cd0;hb=22129bb15a8ad204cf8a5e88e8834ec0b51908c0;hpb=96db36a7a6ff75d2fc1353e45434a7f6b1db801b diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 3491b11..a56a624 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.7 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 */