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:
parent
5ab2d4cb19
commit
0b55d3d3fc
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -5,7 +5,11 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1500)
|
||||
#include <SDL.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* --- select emulation chips --- */
|
||||
|
|
Loading…
Add table
Reference in a new issue