Add cmake configuration files

This commit is contained in:
Adeel
2020-01-06 03:56:22 +02:00
parent e50b9ef8b9
commit 92080f42b9
7 changed files with 648 additions and 1 deletions
+1
View File
@@ -127,6 +127,7 @@ ffi_closure_free (void *ptr)
/* Windows systems may have Data Execution Protection (DEP) enabled,
which requires the use of VirtualMalloc/VirtualFree to alloc/free
executable memory. */
# undef FFI_MMAP_EXEC_WRIT
# define FFI_MMAP_EXEC_WRIT 1
# endif
#endif
+1
View File
@@ -451,6 +451,7 @@ DEFAULT_MMAP_THRESHOLD default: 256K
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef HAVE_MMAP
#define HAVE_MMAP 1
#define HAVE_MORECORE 0
#define LACKS_UNISTD_H