1 /*****************************************************************************
2 * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008
3 * This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
4 * & Tobias Oetiker
5 * Distributed under the GPL
6 *****************************************************************************
7 * rrd_is_thread_safe.c Poisons some nasty function calls using GNU cpp
8 *****************************************************************************
9 * $Id$
10 *************************************************************************** */
12 #ifndef _RRD_IS_THREAD_SAFE_H
13 #define _RRD_IS_THREAD_SAFE_H
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 #undef strerror
21 #if( 2 < __GNUC__ )
22 #pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
23 #endif
25 #ifdef __cplusplus
26 }
27 #endif
28 #endif /*_RRD_IS_THREAD_SAFE_H */