X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=85769ed9416fbff9cabd9ab83d8f90e7a059ba17;hb=6a1b841eb858e4b66817654b41df212e08de6da8;hp=521edec31de61c65d56534a7d941105c8665b586;hpb=c0be57bdf5f3fef44227f2e0acf6a7a74c1a7620;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index 521edec..85769ed 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc8 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.8 Copyright by Tobi Oetiker, 1997-2005 * This file: Copyright 2003 Peter Stamfest * & Tobias Oetiker * Distributed under the GPL @@ -17,7 +17,10 @@ extern "C" { #endif #undef strerror + +#if( 2 < __GNUC__ ) #pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror +#endif #ifdef __cplusplus }