summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2012-12-31 07:16:59 +0000
committerbrad <brad@openbsd.org>2012-12-31 07:16:59 +0000
commit7b7fc805c762afa6c8e79e16a20acde90813ddce (patch)
tree60ddbd766b8bbc0014d89c35624d384cdbb250a1
parentRemove emulation errno mapping code from platforms that no longer have (diff)
downloadwireguard-openbsd-7b7fc805c762afa6c8e79e16a20acde90813ddce.tar.xz
wireguard-openbsd-7b7fc805c762afa6c8e79e16a20acde90813ddce.zip
Make use of OPENBSD_OS_CPP_BUILTINS_COMMON here as well.
ok miod@
-rw-r--r--gnu/usr.bin/gcc/gcc/config/vax/openbsd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
index 02a92504903..2cdad694c32 100644
--- a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
@@ -23,10 +23,7 @@ Boston, MA 02111-1307, USA. */
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
- builtin_define ("__unix__"); \
- builtin_define ("__OpenBSD__"); \
- builtin_assert ("system=unix"); \
- builtin_assert ("system=OpenBSD"); \
+ OPENBSD_OS_CPP_BUILTINS_COMMON(); \
} \
while (0)