From 0b55d3d3fcdb94a45107caf089c84a760851ee06 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 21 Feb 2018 18:58:47 +0000 Subject: [PATCH] Make it compile on VS 2008,as that one does not support the C99 standard library. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4083 --- src/hardware/mame/emu.h | 4 ++++ src/hardware/mame/fmopl.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/hardware/mame/emu.h b/src/hardware/mame/emu.h index ace02d29..834d375d 100644 --- a/src/hardware/mame/emu.h +++ b/src/hardware/mame/emu.h @@ -3,7 +3,11 @@ #include "dosbox.h" +#if defined(_MSC_VER) && (_MSC_VER <= 1500) +#include +#else #include +#endif #include #include #include diff --git a/src/hardware/mame/fmopl.h b/src/hardware/mame/fmopl.h index c64a59c9..677df505 100644 --- a/src/hardware/mame/fmopl.h +++ b/src/hardware/mame/fmopl.h @@ -5,7 +5,11 @@ #pragma once +#if defined(_MSC_VER) && (_MSC_VER <= 1500) +#include +#else #include +#endif /* --- select emulation chips --- */