aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/boehm-gc/include/private/gcconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/boehm-gc/include/private/gcconfig.h')
-rw-r--r--gcc-4.7/boehm-gc/include/private/gcconfig.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc-4.7/boehm-gc/include/private/gcconfig.h b/gcc-4.7/boehm-gc/include/private/gcconfig.h
index fb09cf73c..0263c13fd 100644
--- a/gcc-4.7/boehm-gc/include/private/gcconfig.h
+++ b/gcc-4.7/boehm-gc/include/private/gcconfig.h
@@ -1974,8 +1974,13 @@
# ifdef X86_64
# define MACH_TYPE "X86_64"
-# define ALIGNMENT 8
-# define CPP_WORDSZ 64
+# ifdef __ILP32__
+# define ALIGNMENT 4
+# define CPP_WORDSZ 32
+# else
+# define ALIGNMENT 8
+# define CPP_WORDSZ 64
+# endif
# ifndef HBLKSIZE
# define HBLKSIZE 4096
# endif