aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authorKrister Walfridsson <cato@df.lth.se>2007-09-10 02:22:54 +0200
committerKrister Walfridsson <kristerw@gcc.gnu.org>2007-09-10 00:22:54 +0000
commitac54f11d997cdaeb7d7809035e1524415aa9bb37 (patch)
treec40c6d657c2ca5215afbfeaedba875fadc333939 /gcc/config/netbsd.h
parentfe7b3cca9a35130f420fe4a79dd77bf131956ee9 (diff)
downloadgcc-ac54f11d997cdaeb7d7809035e1524415aa9bb37.zip
gcc-ac54f11d997cdaeb7d7809035e1524415aa9bb37.tar.gz
gcc-ac54f11d997cdaeb7d7809035e1524415aa9bb37.tar.bz2
* config/netbsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
From-SVN: r128319
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 68a4bf5..3f42452 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -224,3 +224,6 @@ __enable_execute_stack (void *addr) \
/* 7 == PROT_READ | PROT_WRITE | PROT_EXEC */ \
(void) mprotect (page, end - page, 7); \
}
+
+/* Define this so we can compile MS code for use with WINE. */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1