forked from yubo/rrdlite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rrd_is_thread_safe.h
28 lines (23 loc) · 887 Bytes
/
rrd_is_thread_safe.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*****************************************************************************
* RRDtool 1.4.9 Copyright by Tobi Oetiker, 1997-2014
* This file: Copyright 2003 Peter Stamfest <peter@stamfest.at>
* & Tobias Oetiker
* Distributed under the GPL
*****************************************************************************
* rrd_is_thread_safe.c Poisons some nasty function calls using GNU cpp
*****************************************************************************
* $Id$
*************************************************************************** */
#ifndef _RRD_IS_THREAD_SAFE_H
#define _RRD_IS_THREAD_SAFE_H
#ifdef __cplusplus
extern "C" {
#endif
#undef strerror
#if( 2 < __GNUC__ )
#pragma GCC poison strtok asctime ctime gmtime localtime tmpnam strerror
#endif
#ifdef __cplusplus
}
#endif
#endif /*_RRD_IS_THREAD_SAFE_H */