Cmake build: Make it compilable again (Add check for HAVE_UNSETENV)

This commit is contained in:
Kornel Benko 2013-02-17 11:47:23 +01:00
parent 0c6ec4b18d
commit 3650ed7a9d
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ check_function_exists(tsearch HAVE_TSEARCH)
check_function_exists(getegid HAVE_GETEGID)
check_function_exists(getgid HAVE_GETGID)
check_function_exists(getuid HAVE_GETUID)
check_function_exists(unsetenv HAVE_UNSETENV)
check_function_exists(wcslen HAVE_WCSLEN)
check_function_exists(mkfifo HAVE_MKFIFO)

View File

@ -46,6 +46,7 @@
#cmakedefine HAVE__MKDIR 1
#cmakedefine HAVE_PUTENV 1
#cmakedefine HAVE_SETENV 1
#cmakedefine HAVE_UNSETENV 1
#cmakedefine HAVE_STRERROR 1
#cmakedefine HAVE_STD_COUNT 1
#cmakedefine HAVE_ASPRINTF 1