Skip to content

Commit

Permalink
Fix prboom for MSVC 2003
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jul 30, 2019
1 parent 3938f13 commit 54188e4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions deps/fluidsynth/src/utils/fluidsynth_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions src/m_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/p_checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 54188e4

Please sign in to comment.