mirror of
https://github.com/nothings/stb
synced 2024-12-15 20:32:33 +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
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
#ifndef _CRT_NONSTDC_NO_DEPRECATE
|
||||
#define _CRT_NONSTDC_NO_DEPRECATE
|
||||
#endif
|
||||
#ifndef _CRT_NON_CONFORMING_SWPRINTFS
|
||||
#define _CRT_NON_CONFORMING_SWPRINTFS
|
||||
#endif
|
||||
#if !defined(_MSC_VER) || _MSC_VER > 1700
|
||||
#include <intrin.h> // _BitScanReverse
|
||||
#endif
|
||||
|
@ -328,7 +328,9 @@
|
||||
#define STB_TILEMAP_INCLUDE_STB_TILEMAP_EDITOR_H
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user