various win32 compile fixes for the latest mingw (not fully working due to

LPCWAVEFORMATEX)
This commit is contained in:
Bill Currie 2002-10-11 20:47:17 +00:00
parent c1cad316fd
commit 9f7c669370
11 changed files with 18 additions and 9 deletions

View file

@ -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"

View file

@ -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

View file

@ -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>

View file

@ -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"

View file

@ -33,7 +33,7 @@ static const char rcsid[] =
#endif
#include <ctype.h>
#include <windows.h>
#include "winquake.h"
#include "QF/console.h"

View file

@ -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>

View file

@ -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>

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -31,6 +31,8 @@ static const char rcsid[] =
# include "config.h"
#endif
#include "winquake.h"
#include <winsock.h>
#include "QF/cvar.h"