include: Define DECLSPEC_SELECTANY on MinGW.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8233b3d537
commit
9138508a94
|
@ -110,6 +110,8 @@ extern "C" {
|
||||||
#ifndef DECLSPEC_SELECTANY
|
#ifndef DECLSPEC_SELECTANY
|
||||||
#if defined(_MSC_VER) && (_MSC_VER >= 1100)
|
#if defined(_MSC_VER) && (_MSC_VER >= 1100)
|
||||||
#define DECLSPEC_SELECTANY __declspec(selectany)
|
#define DECLSPEC_SELECTANY __declspec(selectany)
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
#define DECLSPEC_SELECTANY __attribute__((selectany))
|
||||||
#else
|
#else
|
||||||
#define DECLSPEC_SELECTANY
|
#define DECLSPEC_SELECTANY
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue