Momo: disable formatarg on MSVC

This commit is contained in:
tildearrow 2024-06-05 03:17:10 -05:00
parent 6274d90349
commit 26b392d523
2 changed files with 5 additions and 1 deletions

View file

@ -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);