Detect readdir_r().
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1616 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -35,7 +35,9 @@ uqm_requirements()
|
||||
have_library vorbisfile || exit 1
|
||||
|
||||
|
||||
# Add defines for HAVE_SETENV, HAVE_STRUPR and HAVE_STRICMP
|
||||
# Add defines for HAVE_READDIR_R, HAVE_SETENV, HAVE_STRUPR
|
||||
# and HAVE_STRICMP
|
||||
define_have_symbol readdir_r
|
||||
define_have_symbol setenv
|
||||
define_have_symbol strupr
|
||||
define_have_symbol stricmp
|
||||
|
||||
@@ -260,6 +260,9 @@ LIB_zlib_DEPEND_DETECT_BIN="pkgconfig"
|
||||
# Describe the symbols (possibly) used: #
|
||||
##############################################################################
|
||||
|
||||
SYMBOL_readdir_r_EXTRA="#include <dirent.h>
|
||||
"
|
||||
|
||||
SYMBOL_wchar_t_EXTRA="#include <stddef.h>
|
||||
"
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
/* Defined if words are stored with the most significant byte first */
|
||||
@WORDS_BIGENDIAN@
|
||||
|
||||
/* Defined if your system has readdir_r of its own */
|
||||
@HAVE_READDIR_R@
|
||||
|
||||
/* Defined if your system has setenv of its own */
|
||||
@HAVE_SETENV@
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
/* Define if words are stored with the most significant byte first */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/* Defined if your system has readdir_r of its own */
|
||||
#undef HAVE_READDIR_R
|
||||
|
||||
/* Defined if your system has setenv of its own */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user