vendor/stb/include/stb_image_write.h: Remove _CTR_SECURE_NO_WARNINGS as we define it in cmake.
This commit is contained in:
parent
2dc8050ce3
commit
0406a38895
1 changed files with 3 additions and 3 deletions
6
vendor/stb/include/stb_image_write.h
vendored
6
vendor/stb/include/stb_image_write.h
vendored
|
|
@ -98,12 +98,12 @@ CREDITS:
|
||||||
github:Chribba
|
github:Chribba
|
||||||
Guillaume Chereau
|
Guillaume Chereau
|
||||||
github:jry2
|
github:jry2
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
|
|
||||||
This software is in the public domain. Where that dedication is not
|
This software is in the public domain. Where that dedication is not
|
||||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||||
distribute, and modify this file as you see fit.
|
distribute, and modify this file as you see fit.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -144,7 +144,7 @@ STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int w,
|
||||||
#ifdef STB_IMAGE_WRITE_IMPLEMENTATION
|
#ifdef STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
// #define _CRT_SECURE_NO_WARNINGS
|
||||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
#define _CRT_NONSTDC_NO_DEPRECATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue