Remove DECLSPEC_SELECTANY macro and make g_sids in EngineStrings 'inline const' instead

This commit is contained in:
fwcd 2019-04-05 14:44:44 +02:00
commit 150ff9b0c1
2 changed files with 1 additions and 7 deletions

View file

@ -219,7 +219,7 @@
#define SIDS_ERR_INPUT_OVERFLOW L"119"
#define SIDS_ERR_OUTPUT_OVERFLOW L"120"
DECLSPEC_SELECTANY std::wstring g_sids[] =
inline const std::wstring g_sids[] =
{
std::wstring(SIDS_PLUS_MINUS),
std::wstring(SIDS_C),

View file

@ -38,10 +38,4 @@
#include "winerror_cross_platform.h"
#include "sal_cross_platform.h"
#ifdef __GNUC__
#define DECLSPEC_SELECTANY __attribute__((selectany))
#else
#define DECLSPEC_SELECTANY __declspec(selectany)
#endif
#endif