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:
@@ -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.
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user