From 2c7b31958add99f3005aa97099fd3d85a98b69e8 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 24 Nov 2014 06:30:47 +0000 Subject: [PATCH] Fix build with x86_64-MinGW-w64. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4761 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/compat.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/polymer/eduke32/build/src/compat.c b/polymer/eduke32/build/src/compat.c index 2f9e5e828..63fe08e4c 100644 --- a/polymer/eduke32/build/src/compat.c +++ b/polymer/eduke32/build/src/compat.c @@ -12,22 +12,12 @@ * names. */ -#ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -//#define _WIN32_IE 0x0400 -#define _WIN32_WINNT 0x0501 -#include -#include -#include -#endif +#include "compat.h" -#include -#include -#include -#include -#include -// #include -#include +#ifdef _WIN32 +# include +# include +#endif #if defined(_MSC_VER) # include @@ -35,7 +25,6 @@ # include #endif -#include "compat.h" #include "baselayer.h" ////////// PANICKING ALLOCATION FUNCTIONS //////////