From: H.J. Lu Date: Mon, 16 Apr 2012 16:27:45 +0000 (-0700) Subject: Set GC_GRANULE_BYTES/GC_GRANULE_WORDS for x32 X-Git-Tag: gc7_3alpha2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a0675b9ad6c30a6eb8357a53160507b95cc7d96;p=gc Set GC_GRANULE_BYTES/GC_GRANULE_WORDS for x32 * include/gc_tiny_fl.h (GC_GRANULE_BYTES): Set to 8 for x32. (GC_GRANULE_WORDS): Set to 2 for x32. --- diff --git a/include/gc_tiny_fl.h b/include/gc_tiny_fl.h index 4684cea5..0382b417 100644 --- a/include/gc_tiny_fl.h +++ b/include/gc_tiny_fl.h @@ -47,7 +47,8 @@ /* library that may be shared between applications, since it affects */ /* the binary interface to the library. */ # if defined(__LP64__) || defined (_LP64) || defined(_WIN64) \ - || defined(__s390x__) || defined(__x86_64__) \ + || defined(__s390x__) \ + || (defined(__x86_64__) && !defined(__ILP32__)) \ || defined(__alpha__) || defined(__powerpc64__) \ || defined(__arch64__) # define GC_GRANULE_BYTES 16