fixed compilation (c++11)

This commit is contained in:
Robert Pelnar 2018-05-30 14:53:14 +02:00
parent d27211a8a7
commit 3e29312b41

View file

@ -35,7 +35,7 @@
#define _T(s) s #define _T(s) s
#else //(LANG_MODE == 0) #else //(LANG_MODE == 0)
#define _I(s) (__extension__({static const char __c[] PROGMEM_I1 = "\xff\xff"s; &__c[0];})) #define _I(s) (__extension__({static const char __c[] PROGMEM_I1 = "\xff\xff"s; &__c[0];}))
#define ISTR(s) "\xff\xff"s #define ISTR(s) "\xff\xff" s
#define _i(s) lang_get_translation(_I(s)) #define _i(s) lang_get_translation(_I(s))
#define _T(s) lang_get_translation(s) #define _T(s) lang_get_translation(s)
#endif //(LANG_MODE == 0) #endif //(LANG_MODE == 0)