CMake: detect mmap() and write result to rfbconfig.h

pull/3/head
Christian Beier 8 years ago
parent 32301cb73f
commit 6d4bb07ea6
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -151,6 +151,7 @@ check_include_file("sys/types.h" HAVE_SYS_TYPES_H)
check_function_exists(gettimeofday LIBVNCSERVER_HAVE_GETTIMEOFDAY)
check_function_exists(vfork LIBVNCSERVER_HAVE_VFORK)
check_function_exists(vprintf LIBVNCSERVER_HAVE_VPRINTF)
check_function_exists(mmap LIBVNCSERVER_HAVE_MMAP)
# On systems such as GNU/Linux with glibc, __b64_ntop is defined in a

@ -72,6 +72,9 @@
/* Define to 1 if `vfork' works. */
#cmakedefine LIBVNCSERVER_HAVE_WORKING_VFORK 1
/* Define to 1 if `mmap' exists. */
#cmakedefine LIBVNCSERVER_HAVE_MMAP 1
/* Define to 1 if you have the <ws2tcpip.h> header file. */
#cmakedefine LIBVNCSERVER_HAVE_WS2TCPIP_H 1

Loading…
Cancel
Save