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:
meep-eep
2005-04-08 01:24:46 +00:00
parent 33e886569d
commit 5e2b328d98
4 changed files with 12 additions and 1 deletions
+3 -1
View File
@@ -35,7 +35,9 @@ uqm_requirements()
have_library vorbisfile || exit 1 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 setenv
define_have_symbol strupr define_have_symbol strupr
define_have_symbol stricmp define_have_symbol stricmp
+3
View File
@@ -260,6 +260,9 @@ LIB_zlib_DEPEND_DETECT_BIN="pkgconfig"
# Describe the symbols (possibly) used: # # Describe the symbols (possibly) used: #
############################################################################## ##############################################################################
SYMBOL_readdir_r_EXTRA="#include <dirent.h>
"
SYMBOL_wchar_t_EXTRA="#include <stddef.h> SYMBOL_wchar_t_EXTRA="#include <stddef.h>
" "
+3
View File
@@ -26,6 +26,9 @@
/* Defined if words are stored with the most significant byte first */ /* Defined if words are stored with the most significant byte first */
@WORDS_BIGENDIAN@ @WORDS_BIGENDIAN@
/* Defined if your system has readdir_r of its own */
@HAVE_READDIR_R@
/* Defined if your system has setenv of its own */ /* Defined if your system has setenv of its own */
@HAVE_SETENV@ @HAVE_SETENV@
+3
View File
@@ -27,6 +27,9 @@
/* Define if words are stored with the most significant byte first */ /* Define if words are stored with the most significant byte first */
#undef WORDS_BIGENDIAN #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 */ /* Defined if your system has setenv of its own */
#undef HAVE_SETENV #undef HAVE_SETENV