CMake: Update for upstream change

This commit is contained in:
Sam Edwards 2018-05-27 14:07:26 -06:00
parent d0ebc59d32
commit 827f322d0e
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ int main(int argc, char *argv[]) { fs.open(\"file\", std::fstream::out, 0644); r
check_cxx_source_compiles("
#include <unistd.h>
int main(int argc, char *argv[]) { lockf(0, F_LOCK, 0); return 0; }
" HAVE_LOCKF)
" PHAVE_LOCKF)
# Check if we have a wchar_t type.
check_type_size(wchar_t HAVE_WCHAR_T)

View File

@ -262,7 +262,7 @@
#cmakedefine HAVE_OPEN_MASK
/* Define if we have a lockf() function. */
#cmakedefine HAVE_LOCKF
#cmakedefine PHAVE_LOCKF
/* Define if some header file defines wchar_t. */
#cmakedefine HAVE_WCHAR_T