diff options
Diffstat (limited to 'boehm-gc/include/private/gcconfig.h')
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 7e081d993bb..44b9d7d86c3 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -1854,9 +1854,14 @@ # endif # ifdef AARCH64 -# define CPP_WORDSZ 64 +# ifdef __ILP32__ +# define ALIGNMENT 4 +# define CPP_WORDSZ 32 +# else +# define ALIGNMENT 8 +# define CPP_WORDSZ 64 +# endif # define MACH_TYPE "AARCH64" -# define ALIGNMENT 8 # ifndef HBLKSIZE # define HBLKSIZE 4096 # endif @@ -2132,7 +2137,7 @@ # endif # endif -#if defined(LINUX) && defined(USE_MMAP) +#if (defined(LINUX) || defined(HURD)) && defined(USE_MMAP) /* The kernel may do a somewhat better job merging mappings etc. */ /* with anonymous mappings. */ # define USE_MMAP_ANON |