From 7a82c28524e0524d893675ce56b629ddc5349582 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Sat, 5 Jan 2008 18:40:17 +0000 Subject: [PATCH] Don't set _POSIX_THREAD_SAFE_FUNCTIONS. It does not mean "I want thread-safe functions", it is set by the system to mean "you've got thread-safe functions". git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2892 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 1 + sc2/src/sc2code/libs/uio/stdio/stdio.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index e8b503aaa..25f071053 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.7: +- Don't set _POSIX_THREAD_SAFE_FUNCTIONS - SvdB - Support for Windows CE. - SvdB with Pavel Chernikov - Added support to the unix build system for explicitely specifying the name of the define to set to show when a symbol is found. diff --git a/sc2/src/sc2code/libs/uio/stdio/stdio.c b/sc2/src/sc2code/libs/uio/stdio/stdio.c index a6a6c8680..e2e20c89c 100644 --- a/sc2/src/sc2code/libs/uio/stdio/stdio.c +++ b/sc2/src/sc2code/libs/uio/stdio/stdio.c @@ -32,8 +32,6 @@ #else # include # include -# define _POSIX_THREAD_SAFE_FUNCTIONS - // for readdir_r # include #endif #include