mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix running on Windows XP
Newer mingw-w64 changed default Windows version compatibility. Need to specify older behavior for EnumProcesses() to avoid "missing K32EnumProcesses()" runtime error.
This commit is contained in:
parent
9881c561ad
commit
7d711f8121
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
===========================================================================
|
===========================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// Use EnumProcesses() with Windows XP compatibility
|
||||||
|
#define PSAPI_VERSION 1
|
||||||
|
|
||||||
#include "../qcommon/q_shared.h"
|
#include "../qcommon/q_shared.h"
|
||||||
#include "../qcommon/qcommon.h"
|
#include "../qcommon/qcommon.h"
|
||||||
#include "sys_local.h"
|
#include "sys_local.h"
|
||||||
|
|
Loading…
Reference in a new issue