diff options
Diffstat (limited to 'al')
-rw-r--r-- | al/effects/effects.h | 4 | ||||
-rw-r--r-- | al/filter.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/al/effects/effects.h b/al/effects/effects.h index 9d57dd82..f30f256a 100644 --- a/al/effects/effects.h +++ b/al/effects/effects.h @@ -16,8 +16,8 @@ class effect_exception final : public al::base_exception { ALenum 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/al/filter.cpp b/al/filter.cpp index f0a078b7..4f79db7d 100644 --- a/al/filter.cpp +++ b/al/filter.cpp @@ -53,8 +53,8 @@ class filter_exception final : public al::base_exception { ALenum 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 |