From 602935e1cb4674e23e33290fb09ae44d2a113d48 Mon Sep 17 00:00:00 2001 From: Benedikt Freisen Date: Tue, 11 Aug 2015 21:06:37 +0000 Subject: [PATCH] [HHPCOMP] Apply changes proposed by learn_more which supposedly fix the GCCWin build svn path=/trunk/; revision=68696 --- reactos/tools/hhpcomp/chmc/chmc.c | 2 +- reactos/tools/hhpcomp/utils.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/tools/hhpcomp/chmc/chmc.c b/reactos/tools/hhpcomp/chmc/chmc.c index 75d8f4ed058..652031c477b 100644 --- a/reactos/tools/hhpcomp/chmc/chmc.c +++ b/reactos/tools/hhpcomp/chmc/chmc.c @@ -30,7 +30,7 @@ #include #include #include -#ifndef __GNUC__ +#if !defined(__GNUC__) || defined(__MINGW32__) typedef int (*__compar_fn_t)(const void *, const void *); #endif diff --git a/reactos/tools/hhpcomp/utils.cpp b/reactos/tools/hhpcomp/utils.cpp index 184742c073a..c2c8dae8d17 100644 --- a/reactos/tools/hhpcomp/utils.cpp +++ b/reactos/tools/hhpcomp/utils.cpp @@ -22,6 +22,7 @@ #include #if defined(_WIN32) + #define WIN32_LEAN_AND_MEAN #include // for GetFullPathNameA #else #include