Warning C4005 fix

master
Eugene Opalev ago%!(EXTRA string=10 years)
parent bc1b1f6cc9
commit a5bbc93087
  1. 6
      stb.h
  2. 2
      stb_tilemap_editor.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…
Cancel
Save