1 /*****************************************************************************
2  * RRDtool 1.2.30  Copyright by Tobi Oetiker, 1997-2009
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: rrd_is_thread_safe.h 1735 2009-01-19 14:29:11Z oetiker $
10  *************************************************************************** */
11 
12 #ifndef _RRD_IS_THREAD_SAFE_H
13 #define _RRD_IS_THREAD_SAFE_H
14 
15 #ifdef  __cplusplus
16 extern "C" {
17 #endif
18 
19 #undef strerror
20 
21 #if( 2 < __GNUC__ )
22 #pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
23 #endif
24 
25 #ifdef  __cplusplus
26 }
27 #endif
28 
29 #endif /*_RRD_IS_THREAD_SAFE_H */
30