[rrd-developers] making rrd_is_thread_safe.h a little more robust

Gifford Hesketh gifford.hesketh at gmail.com
Mon May 16 23:22:44 MEST 2005


I would suggest protecting the gcc-specific pragma, perhaps like this:

#if( 2 < __GNUC__ )
#pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
#endif

I believe that particular pragma syntax was introduce with gcc 3, thus
the (2 < __GNUC__ ) predicate ...

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list