aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/netbsd.h
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-09 03:53:58 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-09 03:53:58 +0000
commit93528070edd51f627a9d47bbb6c92d1a90fcc553 (patch)
treefd30425b126c2493f0b6097f8da8062699b21bed /gcc/config/i386/netbsd.h
parent2617fe26157b2f7e9a97160ba286323835b2b643 (diff)
* config/netbsd.h (CPP_SPEC): Remove.
* config/i386/netbsd-elf.h (CPP_SPEC): Define. * config/i386/netbsd.h (CPP_SPEC): Define. * config/ns32k/netbsd.h (CPP_SPEC): Define. * config/sparc/netbsd-elf.h (CPP_SPEC): Remove. * config/sparc/netbsd.h (CPP_SPEC): Define. * config/vax/netbsd.h (CPP_SPEC): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/netbsd.h')
-rw-r--r--gcc/config/i386/netbsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h
index 765e6793d08..400cb0f432f 100644
--- a/gcc/config/i386/netbsd.h
+++ b/gcc/config/i386/netbsd.h
@@ -8,6 +8,10 @@
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D__NetBSD__ \
-Asystem=unix -Asystem=bsd -Asystem=NetBSD"
+
+#undef CPP_SPEC
+#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE}"
+
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"