prepare for the release of rrdtool-1.3.0
[rrdtool.git] / src / rrd_is_thread_safe.h
1 /*****************************************************************************
2  * RRDtool 1.3.0  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  *************************************************************************** */
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 #endif /*_RRD_IS_THREAD_SAFE_H */