Remove extra USE_MMAP definition for Interix
authorIvan Maidanski <ivmai@mail.ru>
Wed, 3 Oct 2018 07:08:17 +0000 (10:08 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 3 Oct 2018 07:08:17 +0000 (10:08 +0300)
(code refactoring)

* include/private/gcconfig.h [I386 && INTERIX && !USE_MMAP] (USE_MMAP):
Remove macro definition (because in gc v8.0.0+ it is defined later in this
file).

include/private/gcconfig.h

index d87a9e6..694a4b3 100644 (file)
@@ -1549,9 +1549,6 @@ EXTERN_C_BEGIN
                             __asm__ __volatile__ ("movl %%fs:4, %%eax" \
                                                   : "=a" (rv)); \
                             rv; })
-#     ifndef USE_MMAP
-#       define USE_MMAP
-#     endif
 #     define USE_MMAP_ANON
 #   endif
 #   ifdef OS2