* include/winnt.h (DECLSPEC_SELECTANY): Define.

This commit is contained in:
Danny Smith 2006-01-26 01:55:39 +00:00
parent a62ec6b340
commit c40776e5a2
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (DECLSPEC_SELECTANY): Define.
2006-01-26 Filip Navara <xnavara@volny.cz>
* include/winnt.h (DECLSPEC_ALIGN): Define.

View File

@ -51,6 +51,14 @@ extern "C" {
#endif
#endif
#ifndef DECLSPEC_SELECTANY
#if (__GNUC__ >= 4)
#define DECLSPEC_SELECTANY __attribute__((selectany))
#else
#define DECLSPEC_SELECTANY
#endif
#endif
#ifndef VOID
#define VOID void
#endif