mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Buildfix for MSVC 2005
This commit is contained in:
parent
9df36f33d8
commit
fab7e7cdcd
@ -84,8 +84,10 @@ NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
#if (defined(_MSC_VER) && _MSC_VER < 1900 /*vs2015*/)
|
||||
#ifndef snprintf
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
|
4
deps/libz/gzguts.h
vendored
4
deps/libz/gzguts.h
vendored
@ -105,7 +105,9 @@
|
||||
termination of the result -- however this is only used in gzlib.c where
|
||||
the result is assured to fit in the space provided */
|
||||
#ifdef _MSC_VER
|
||||
# define snprintf _snprintf
|
||||
#ifndef snprintf
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef local
|
||||
|
@ -874,7 +874,7 @@ AUDIO
|
||||
|
||||
#include "../audio/drivers/nullaudio.c"
|
||||
|
||||
#if defined(HAVE_WASAPI) || defined(HAVE_XAUDIO)
|
||||
#if defined(HAVE_WASAPI) || (_WIN32_WINNT >= 0x0602)
|
||||
#include "../audio/common/mmdevice_common.c"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user