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