2
0
Fork 0

[core] disable GCC poison

This commit is contained in:
Stefan Bühler 2010-08-24 20:17:30 +02:00
parent 30c649a533
commit 8c1b6fa3a2
1 changed files with 3 additions and 0 deletions

View File

@ -216,6 +216,8 @@
#include <lighttpd/sys_memory.h>
#include <lighttpd/sys_socket.h>
#if 0
/* on "old" gcc versions (4.1?) poison also hits struct members */
#if( 2 < __GNUC__ )
#pragma GCC poison strtok asctime ctime tmpnam strerror
#ifdef HAVE_LOCALTIME_R
@ -225,5 +227,6 @@
#pragma GCC poison gmtime
#endif
#endif
#endif
#endif