X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=baf16331959fe82b5bda495e84c549e45c142f93;hb=0cc0426da39afd7d41a8f3848c85543586642ca2;hp=f0bcdde0d8fa0c246e444d52822bd067abb0c337;hpb=554df7224e8b3fec9ec5981812b453c43072f150;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index f0bcdde..baf1633 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.4 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 */