mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Remove DECLSPEC_SELECTANY macro and make g_sids in EngineStrings 'inline const' instead
This commit is contained in:
parent
428bacacfc
commit
150ff9b0c1
2 changed files with 1 additions and 7 deletions
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue