X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_is_thread_safe.h;h=8b823cbfdf5cf2ebc9aa2c506bb04eeee4cf4109;hb=20aaecbc4681668a37325c7804f58fc22660cc7c;hp=d4b8f5907fe43c8313b0e710ad1e74b96f2af78f;hpb=361a0fd38d7adf95847508f54c0bde9b3f98662e;p=rrdtool.git diff --git a/src/rrd_is_thread_safe.h b/src/rrd_is_thread_safe.h index d4b8f59..8b823cb 100644 --- a/src/rrd_is_thread_safe.h +++ b/src/rrd_is_thread_safe.h @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2.8 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.10 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 }