diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-05-20 17:56:27 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-21 09:45:06 -0700 |
commit | 98553e52a14b97a03aef8dc4fc0300b3f4c2c4b5 (patch) | |
tree | 4b229f8fdbd1604dcded9502d2b32e22738b188b /hw | |
parent | 7b09335a46f9428141811230c69eef7968531359 (diff) |
vbe.h: Use __attribute__((packed)) on Sun cc 5.9 & later as well as gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/vbe/vbe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/vbe/vbe.h b/hw/xfree86/vbe/vbe.h index 3ebd440a8..072621fa6 100644 --- a/hw/xfree86/vbe/vbe.h +++ b/hw/xfree86/vbe/vbe.h @@ -65,7 +65,7 @@ typedef struct vbeControllerInfoBlock { #pragma pack(0) #endif -#ifndef __GNUC__ +#if !( defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) ) #define __attribute__(a) #endif |