diff --git a/common/uipriv.h b/common/uipriv.h index a64633bd..da57f7dc 100644 --- a/common/uipriv.h +++ b/common/uipriv.h @@ -12,7 +12,8 @@ extern "C" { #endif // TODO WHY IS THIS NEEDED?!?!?!?!!?!??!Q https://stackoverflow.com/questions/15610053/correct-printf-format-specifier-for-size-t-zu-or-iu SAYS THAT VS2013 DOES SUPPORT %zu -#ifdef _MSC_VER +// TODO AND WHY IS MINGW AFFECTED?!?!?!?! +#ifdef _WIN32 #define uiprivSizetPrintf "Iu" #else #define uiprivSizetPrintf "zu"