diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2003-06-13 19:41:23 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2003-06-13 19:41:23 +0000 |
commit | a4b132d623620229a9d087390c645a3b31354879 (patch) | |
tree | 0185b80005adfa31c3cc240a44523107b9c82fb5 /gnu | |
parent | 6a4fdc76ba022f2a950ee476047fcbb890da21da (diff) |
add __LP64__ and _LP64 CPP predefines for systems using LP64.
pvalchev@ fgsch@ millert@ ok
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/egcs/gcc/config/alpha/openbsd.h | 2 | ||||
-rw-r--r-- | gnu/egcs/gcc/config/sparc/openbsd64.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/config/alpha/openbsd.h b/gnu/egcs/gcc/config/alpha/openbsd.h index fb208baa45e..d9b7696209b 100644 --- a/gnu/egcs/gcc/config/alpha/openbsd.h +++ b/gnu/egcs/gcc/config/alpha/openbsd.h @@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA. */ /* run-time target specifications */ #define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \ --D__OpenBSD__ -D__alpha__ -D__alpha -D__ELF__" +-D__OpenBSD__ -D__alpha__ -D__alpha -D__LP64__ -D_LP64 -D__ELF__" /* Layout of source language data types. */ diff --git a/gnu/egcs/gcc/config/sparc/openbsd64.h b/gnu/egcs/gcc/config/sparc/openbsd64.h index 84991872af4..265ffcd143c 100644 --- a/gnu/egcs/gcc/config/sparc/openbsd64.h +++ b/gnu/egcs/gcc/config/sparc/openbsd64.h @@ -46,7 +46,9 @@ Boston, MA 02111-1307, USA. */ /* Run-time target specifications. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__sparc64__ -D__sparcv9__ -D__sparc_v9__ -D__arch64__ -D__ELF__ -D__OpenBSD__ -Asystem(unix) -Asystem(OpenBSD) -Acpu(sparc) -Amachine(sparc)" +#define CPP_PREDEFINES "-D__unix__ -D__sparc__ -D__sparc64__ -D__sparcv9__ \ +-D__sparc_v9__ -D__arch64__ -D__LP64__ -D_LP64 -D__ELF__ -D__OpenBSD__ \ +-Asystem(unix) -Asystem(OpenBSD) -Acpu(sparc) -Amachine(sparc)" #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "" |