|
|
@ -144,9 +144,13 @@ 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 |
|
|
|
|
|
|
|
#ifndef _CRT_SECURE_NO_WARNINGS |
|
|
|
#define _CRT_SECURE_NO_WARNINGS |
|
|
|
#define _CRT_SECURE_NO_WARNINGS |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef _CRT_NONSTDC_NO_DEPRECATE |
|
|
|
#define _CRT_NONSTDC_NO_DEPRECATE |
|
|
|
#define _CRT_NONSTDC_NO_DEPRECATE |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef STBI_WRITE_NO_STDIO |
|
|
|
#ifndef STBI_WRITE_NO_STDIO |
|
|
|
#include <stdio.h> |
|
|
|
#include <stdio.h> |
|
|
|