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
This commit is contained in:
Meep-Eep
2008-01-05 18:40:17 +00:00
parent b66d240412
commit 7a82c28524
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.7: Changes towards version 0.7:
- Don't set _POSIX_THREAD_SAFE_FUNCTIONS - SvdB
- Support for Windows CE. - SvdB with Pavel Chernikov - Support for Windows CE. - SvdB with Pavel Chernikov
- Added support to the unix build system for explicitely specifying the name - Added support to the unix build system for explicitely specifying the name
of the define to set to show when a symbol is found. of the define to set to show when a symbol is found.
-2
View File
@@ -32,8 +32,6 @@
#else #else
# include <sys/stat.h> # include <sys/stat.h>
# include <unistd.h> # include <unistd.h>
# define _POSIX_THREAD_SAFE_FUNCTIONS
// for readdir_r
# include <dirent.h> # include <dirent.h>
#endif #endif
#include <stdio.h> #include <stdio.h>