stb_image: fix undefined preprocessor definition
This commit is contained in:
parent
ee8e926317
commit
893ef013b2
@ -577,7 +577,7 @@ static unsigned char *stbi_load_main(stbi__context *s, int *x, int *y, int *comp
|
|||||||
FILE *stbi__fopen(char const *filename, char const *mode)
|
FILE *stbi__fopen(char const *filename, char const *mode)
|
||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
#if _MSC_VER >= 1400
|
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
if (0 != fopen_s(&f, filename, "rb"))
|
if (0 != fopen_s(&f, filename, "rb"))
|
||||||
f=0;
|
f=0;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user