Closed madronalabs closed 3 months ago
In Windows dev kit 10.0.22621.0 that installed with Visual Studio 2022, snwprintf is renamed to _snwprintf. To stay compatible with older versions, adding #define _snwprintf snwprintf probably works too.
#define _snwprintf snwprintf
I'm closing this PR because I saw that another PR https://github.com/AndrewBelt/osdialog/pull/17 has a better fix.
In Windows dev kit 10.0.22621.0 that installed with Visual Studio 2022, snwprintf is renamed to _snwprintf. To stay compatible with older versions, adding
#define _snwprintf snwprintf
probably works too.