X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=baf16331959fe82b5bda495e84c549e45c142f93;hb=0cc0426da39afd7d41a8f3848c85543586642ca2;hp=b8bd09aceffe3ad1f4c54d4779a62c0768f1798f;hpb=b02eace34f83a08c55830cb05bc55078153e2ba6;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index b8bd09a..baf1633 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc4 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.3rc9 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 */