Fix prboom for MSVC 2003

This commit is contained in:
twinaphex 2019-07-30 04:06:21 +02:00
parent 3938f13b89
commit 54188e4591
4 changed files with 7 additions and 2 deletions

View File

@ -122,8 +122,7 @@
#ifdef MINGW32
#include <stdint.h>
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#include <compat/msvc.h>
#define DSOUND_SUPPORT 1
#define WINMIDI_SUPPORT 1

View File

@ -43,6 +43,7 @@
#define W_OK 2 /* Check for write permission */
#define R_OK 4 /* Check for read permission */
#include <io.h>
#include <compat/msvc.h>
#endif
#include <boolean.h>

View File

@ -41,6 +41,7 @@
#include <errno.h>
#ifdef _MSC_VER
#include <io.h>
#include <compat/msvc.h>
#endif
#include <fcntl.h>
#include <sys/stat.h>

View File

@ -9,6 +9,10 @@
#include "doomstat.h" /* players{,ingame} */
#include "lprintf.h"
#ifdef _MSC_VER
#include <compat/msvc.h>
#endif
/* forward decls */
void checksum_gamestate(int tic);