mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
various win32 compile fixes for the latest mingw (not fully working due to
LPCWAVEFORMATEX)
This commit is contained in:
parent
c1cad316fd
commit
9f7c669370
11 changed files with 18 additions and 9 deletions
|
@ -31,7 +31,7 @@ static const char rcsid[] =
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include "winquake.h"
|
||||
|
||||
#include "QF/cdaudio.h"
|
||||
#include "QF/cmd.h"
|
||||
|
|
|
@ -40,7 +40,7 @@ static const char rcsid[] =
|
|||
# include <strings.h>
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DLFCN_H
|
||||
|
|
|
@ -48,7 +48,7 @@ static const char rcsid[] =
|
|||
# include <io.h>
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
#ifdef HAVE_SYS_MMAN_H
|
||||
# include <sys/mman.h>
|
||||
|
|
|
@ -35,9 +35,7 @@ static const char rcsid[] =
|
|||
#endif
|
||||
#include <math.h>
|
||||
|
||||
#define byte __byte
|
||||
#include <dinput.h>
|
||||
#undef byte
|
||||
#include "winquake.h"
|
||||
|
||||
#include "QF/cmd.h"
|
||||
#include "QF/console.h"
|
||||
|
|
|
@ -33,7 +33,7 @@ static const char rcsid[] =
|
|||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <windows.h>
|
||||
#include "winquake.h"
|
||||
|
||||
#include "QF/console.h"
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@ static const char rcsid[] =
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_STRING_H
|
||||
# include <string.h>
|
||||
|
|
|
@ -54,7 +54,7 @@ static const char rcsid[] =
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
|
|
|
@ -42,7 +42,7 @@ static const char rcsid[] =
|
|||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#define shutdown __win32_shutdown
|
||||
#include <windows.h>
|
||||
#include "winquake.h"
|
||||
#undef shutdown
|
||||
|
||||
#include "QF/console.h"
|
||||
|
|
|
@ -34,6 +34,9 @@ static const char rcsid[] =
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include "unistd.h"
|
||||
#endif
|
||||
|
|
|
@ -30,6 +30,9 @@ static const char rcsid[] =
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include "winquake.h"
|
||||
#endif
|
||||
#ifdef HAVE_STRING_H
|
||||
# include <string.h>
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,8 @@ static const char rcsid[] =
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "winquake.h"
|
||||
|
||||
#include <winsock.h>
|
||||
|
||||
#include "QF/cvar.h"
|
||||
|
|
Loading…
Reference in a new issue