mirror of
https://github.com/nothings/stb
synced 2024-12-16 04:42:42 +03:00
Warning C4005 fix
This commit is contained in:
parent
bc1b1f6cc9
commit
a5bbc93087
6
stb.h
6
stb.h
@ -207,9 +207,15 @@ CREDITS
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#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
|
||||||
|
#ifndef _CRT_NON_CONFORMING_SWPRINTFS
|
||||||
#define _CRT_NON_CONFORMING_SWPRINTFS
|
#define _CRT_NON_CONFORMING_SWPRINTFS
|
||||||
|
#endif
|
||||||
#if !defined(_MSC_VER) || _MSC_VER > 1700
|
#if !defined(_MSC_VER) || _MSC_VER > 1700
|
||||||
#include <intrin.h> // _BitScanReverse
|
#include <intrin.h> // _BitScanReverse
|
||||||
#endif
|
#endif
|
||||||
|
@ -328,7 +328,9 @@
|
|||||||
#define STB_TILEMAP_INCLUDE_STB_TILEMAP_EDITOR_H
|
#define STB_TILEMAP_INCLUDE_STB_TILEMAP_EDITOR_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user