diff options
author | obrien <obrien@FreeBSD.org> | 2003-12-15 10:34:01 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-12-15 10:34:01 +0000 |
commit | 0a1e7b39d8f8fb403c4ac7ce06bba58f8957c36d (patch) | |
tree | c0488e10abaa617cc1d78ee64545c33eb103310f /contrib/gcc/config/sparc | |
parent | 58652b52677893698d3dff4274cb4ca4b558c991 (diff) | |
download | FreeBSD-src-0a1e7b39d8f8fb403c4ac7ce06bba58f8957c36d.zip FreeBSD-src-0a1e7b39d8f8fb403c4ac7ce06bba58f8957c36d.tar.gz |
Consistently define __LP64__ on all our 64-bit platforms.
Diffstat (limited to 'contrib/gcc/config/sparc')
-rw-r--r-- | contrib/gcc/config/sparc/freebsd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/gcc/config/sparc/freebsd.h b/contrib/gcc/config/sparc/freebsd.h index 36f2f2a..39d4310 100644 --- a/contrib/gcc/config/sparc/freebsd.h +++ b/contrib/gcc/config/sparc/freebsd.h @@ -27,6 +27,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define CPP_CPU64_DEFAULT_SPEC \ "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__" +#undef FBSD_TARGET_CPU_CPP_BUILTINS +#define FBSD_TARGET_CPU_CPP_BUILTINS() \ + do \ + { \ + builtin_define ("__LP64__"); \ + } \ + while (0) + /* Because we include sparc/sysv4.h. */ #undef CPP_PREDEFINES /* Do not define it here, we now use TARGET_OS_CPP_BUILTINS. */ |