]> granicus.if.org Git - gc/commitdiff
Fix 'USE_MUNMAP macro redefinition' error for NaCl
authorIvan Maidanski <ivmai@mail.ru>
Wed, 3 Oct 2018 07:28:26 +0000 (10:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 3 Oct 2018 08:41:14 +0000 (11:41 +0300)
(fix of commit 1aabce0f9)

* include/private/gcconfig.h [I386 && NACL] (USE_MUNMAP): Remove macro
(as it is defined in configure/CMake by default since gc v8.0.0).

include/private/gcconfig.h

index 694a4b390b8f75818a89dc52b282982581fdf600..7abdf61b707cf942b6da537d231888cd62bdb237 100644 (file)
@@ -1183,7 +1183,6 @@ EXTERN_C_BEGIN
 #   define STACK_GRAN 0x10000
 #   define HEURISTIC1
 #   define NO_PTHREAD_GETATTR_NP
-#   define USE_MUNMAP
 #   define USE_MMAP_ANON
 #   define GETPAGESIZE() 65536
 #   define MAX_NACL_GC_THREADS 1024