1
0
Fork 0

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
This commit is contained in:
Peter Veenstra 2018-02-21 18:58:47 +00:00
parent 5ab2d4cb19
commit 0b55d3d3fc
2 changed files with 8 additions and 0 deletions

View file

@ -3,7 +3,11 @@
#include "dosbox.h"
#if defined(_MSC_VER) && (_MSC_VER <= 1500)
#include <SDL.h>
#else
#include <stdint.h>
#endif
#include <math.h>
#include <float.h>
#include <stdlib.h>

View file

@ -5,7 +5,11 @@
#pragma once
#if defined(_MSC_VER) && (_MSC_VER <= 1500)
#include <SDL.h>
#else
#include <stdint.h>
#endif
/* --- select emulation chips --- */