Rémi Bernon : include: Define DECLSPEC_SELECTANY on MinGW.
Module: wine Branch: master Commit: 9138508a9430c42be040b01855359283276b3f45 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9138508a9430c42be040b0185... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Fri Jan 29 09:50:07 2021 +0100 include: Define DECLSPEC_SELECTANY on MinGW. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/winnt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/winnt.h b/include/winnt.h index 5b3efe61385..bb045fa2745 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -110,6 +110,8 @@ extern "C" { #ifndef DECLSPEC_SELECTANY #if defined(_MSC_VER) && (_MSC_VER >= 1100) #define DECLSPEC_SELECTANY __declspec(selectany) +#elif defined(__MINGW32__) +#define DECLSPEC_SELECTANY __attribute__((selectany)) #else #define DECLSPEC_SELECTANY #endif
participants (1)
-
Alexandre Julliard