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