summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/sparc/openbsd64.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2003-06-13 19:41:23 +0000
committerBrad Smith <brad@cvs.openbsd.org>2003-06-13 19:41:23 +0000
commita4b132d623620229a9d087390c645a3b31354879 (patch)
tree0185b80005adfa31c3cc240a44523107b9c82fb5 /gnu/egcs/gcc/config/sparc/openbsd64.h
parent6a4fdc76ba022f2a950ee476047fcbb890da21da (diff)
add __LP64__ and _LP64 CPP predefines for systems using LP64.
pvalchev@ fgsch@ millert@ ok
Diffstat (limited to 'gnu/egcs/gcc/config/sparc/openbsd64.h')
-rw-r--r--gnu/egcs/gcc/config/sparc/openbsd64.h4
1 files changed, 3 insertions, 1 deletions
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 ""