]> git.eshelyaron.com Git - emacs.git/commitdiff
Port pdumper mmap to AIX
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Sep 2019 18:08:34 +0000 (11:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Sep 2019 18:17:48 +0000 (11:17 -0700)
* src/pdumper.c (needs_mmap_retry_p) [_AIX]: Return true.
Problem observed on AIX 7.1 and 7.2 in GCC compile farm.

src/pdumper.c

index 306a70396e0d1f97a96eeb3e8adb855731ed2ef2..98090238b1a97d9e5daeb6d6bb6cb03baf40da79 100644 (file)
@@ -4734,7 +4734,7 @@ dump_mmap_release_vm (struct dump_memory_map *map)
 static bool
 needs_mmap_retry_p (void)
 {
-#if defined (CYGWIN) || VM_SUPPORTED == VM_MS_WINDOWS
+#if defined CYGWIN || VM_SUPPORTED == VM_MS_WINDOWS || defined _AIX
   return true;
 #else
   return false;