diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-03-02 10:53:58 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-03-02 10:53:58 +0000 |
commit | 5528704f0f018120f4cb1a106f53ddf407ff4373 (patch) | |
tree | 60271b9e89db00965201b6f7db8e61ed1ade256a | |
parent | 5b1066f5daf9e8929b0649578c4d40ff537863cd (diff) |
define HANDLE_PRAGMA_PACK_PUSH_POP just like on other platforms
to get #pragma pack and #pragma push work in order to be compatible
with MS compilers because there is some code out there (e.g. chromium)
that uses these pragmas.
ok kettenis@
-rw-r--r-- | gnu/gcc/gcc/config/openbsd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/config/openbsd.h b/gnu/gcc/gcc/config/openbsd.h index 6276e53b088..3f4a50c6493 100644 --- a/gnu/gcc/gcc/config/openbsd.h +++ b/gnu/gcc/gcc/config/openbsd.h @@ -325,6 +325,9 @@ do { \ as this depends on a few other details as well... */ #define HANDLE_SYSV_PRAGMA 1 +/* Define this so we can compile MS code for use with WINE. */ +#define HANDLE_PRAGMA_PACK_PUSH_POP + /* Stack is explicitly denied execution rights on OpenBSD platforms. */ #define ENABLE_EXECUTE_STACK \ extern void __enable_execute_stack (void *); \ |