diff --git a/reactos/include/psdk/ntdef.h b/reactos/include/psdk/ntdef.h index 6f343ac4f66..b8689c3ed96 100644 --- a/reactos/include/psdk/ntdef.h +++ b/reactos/include/psdk/ntdef.h @@ -300,7 +300,7 @@ #endif /* DECLSPEC_ALIGN */ #ifndef DECLSPEC_SELECTANY -#if (_MSC_VER >= 1100) +#if (_MSC_VER >= 1100) || defined(__GNUC__) #define DECLSPEC_SELECTANY __declspec(selectany) #else #define DECLSPEC_SELECTANY diff --git a/reactos/include/psdk/winnt.h b/reactos/include/psdk/winnt.h index 44a33210306..acc04ffa7fd 100644 --- a/reactos/include/psdk/winnt.h +++ b/reactos/include/psdk/winnt.h @@ -218,7 +218,7 @@ extern "C" { #endif #ifndef DECLSPEC_SELECTANY -#if (_MSC_VER >= 1100) +#if (_MSC_VER >= 1100) || defined(__GNUC__) #define DECLSPEC_SELECTANY __declspec(selectany) #else #define DECLSPEC_SELECTANY