stb
stb copied to clipboard
Fix _CRT_SECURE_NO_WARNINGS deprecation notice when compiling with msvc
This fix takes care of the _CRT_SECURE_NO_WARNINGS deprecation notice when compiling with msvc. The preprocessor directive did not account for msvc compilers as they don't define STDC_LIB_EXT1.
Forgot to mention that this is in stb_image_write.h
fixes #1446