mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2006-01-25 Filip Navara <xnavara@volny.cz>
* include/winnt.h (DECLSPEC_ALIGN): Define.
This commit is contained in:
parent
6fbc5c2a9b
commit
a62ec6b340
@ -1,3 +1,7 @@
|
||||
2006-01-26 Filip Navara <xnavara@volny.cz>
|
||||
|
||||
* include/winnt.h (DECLSPEC_ALIGN): Define.
|
||||
|
||||
2006-01-24 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/commctrl.h: Correct spelling of 'compatibility' in
|
||||
|
@ -43,6 +43,14 @@ extern "C" {
|
||||
#define UNALIGNED
|
||||
#endif
|
||||
|
||||
#ifndef DECLSPEC_ALIGN
|
||||
#ifdef __GNUC__
|
||||
#define DECLSPEC_ALIGN(x) __attribute__((aligned(x)))
|
||||
#else
|
||||
#define DECLSPEC_ALIGN(x)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef VOID
|
||||
#define VOID void
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user