mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 18:10:06 +01:00
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>
This commit is contained in:
parent
7b09335a46
commit
98553e52a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue