mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
give up on ancient mingw
This commit is contained in:
parent
29ab911ad4
commit
4ea47fc261
1 changed files with 0 additions and 19 deletions
|
@ -35,13 +35,6 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifdef HAVE__MINGW_H
|
||||
# include <_mingw.h>
|
||||
# if __MINGW32_MAJOR_VERSION == 0 && __MINGW32_MINOR_VERSION == 3
|
||||
# define MINGW_HACKS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __GNUC__
|
||||
# pragma warning( disable : 4229 ) /* mgraph gets this */
|
||||
#endif
|
||||
|
@ -49,21 +42,9 @@
|
|||
#define byte __hide_byte
|
||||
#define shutdown __hide_shutdown
|
||||
|
||||
#ifdef MINGW_HACKS
|
||||
#define LPCWAVEFORMATEX __hide_LPCWAVEFORMATEX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#ifdef MINGW_HACKS
|
||||
#undef LPCWAVEFORMATEX
|
||||
#endif
|
||||
|
||||
#ifdef WINNT
|
||||
# ifdef MINGW_HACKS
|
||||
# undef WINNT
|
||||
# endif
|
||||
# ifdef MINGW_HACKS
|
||||
# define WINNT
|
||||
# endif
|
||||
# ifdef HAVE_DSOUND_H
|
||||
# include <dsound.h>
|
||||
# endif
|
||||
|
|
Loading…
Reference in a new issue