Momo: disable formatarg on MSVC
This commit is contained in:
parent
6274d90349
commit
26b392d523
|
@ -69,7 +69,7 @@ const char* aboutLine[]={
|
|||
_N("-- localization/translation team --"),
|
||||
"Español: ThaCuber, tildearrow",
|
||||
"Հայերեն: Eknous",
|
||||
"한국어: Heemin",
|
||||
"한국어: Heemin, leejh20",
|
||||
"Nederlands: Lunathir",
|
||||
"Polski: freq-mod, PoznańskiSzybkowiec",
|
||||
"Português (Brasil): Kagamiin~",
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define MOMO_FORMATARG
|
||||
#else
|
||||
#define MOMO_FORMATARG __attribute__((format_arg(1)))
|
||||
#endif
|
||||
|
||||
const char* momo_setlocale(int type, const char* locale);
|
||||
const char* momo_bindtextdomain(const char* domainName, const char* dirName);
|
||||
|
|
Loading…
Reference in a new issue