diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/base.h | 4 | ||||
-rw-r--r-- | alc/context.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h index eea0d238..e1f53405 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -103,8 +103,8 @@ class backend_exception final : public base_exception { backend_error mErrorCode; public: -#ifdef __USE_MINGW_ANSI_STDIO - [[gnu::format(gnu_printf, 3, 4)]] +#ifdef __MINGW32__ + [[gnu::format(__MINGW_PRINTF_FORMAT, 3, 4)]] #else [[gnu::format(printf, 3, 4)]] #endif diff --git a/alc/context.h b/alc/context.h index 201c8873..b190c5ea 100644 --- a/alc/context.h +++ b/alc/context.h @@ -186,8 +186,8 @@ struct ALCcontext : public al::intrusive_ref<ALCcontext>, ContextBase { */ void applyAllUpdates(); -#ifdef __USE_MINGW_ANSI_STDIO - [[gnu::format(gnu_printf, 3, 4)]] +#ifdef __MINGW32__ + [[gnu::format(__MINGW_PRINTF_FORMAT, 3, 4)]] #else [[gnu::format(printf, 3, 4)]] #endif |