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:
Chris Sutcliffe
2011-04-22 00:10:07 +00:00
parent a491557a55
commit 8ba4144d50
3 changed files with 8 additions and 5 deletions

View File

@ -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;