2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
* include/windef.h (PACKED): Remove macro. * include/wincon.h: Replace PACKED macro with __attribute__((packed)). Thanks to Keith Marshall for the fix.
This commit is contained in:
@ -105,7 +105,7 @@ typedef struct _KEY_EVENT_RECORD {
|
||||
}
|
||||
#ifdef __GNUC__
|
||||
/* gcc's alignment is not what win32 expects */
|
||||
PACKED
|
||||
__attribute__((packed))
|
||||
#endif
|
||||
KEY_EVENT_RECORD;
|
||||
|
||||
|
Reference in New Issue
Block a user