Author: bfreisen
Date: Tue Aug 11 21:06:37 2015
New Revision: 68696
URL:
http://svn.reactos.org/svn/reactos?rev=68696&view=rev
Log:
[HHPCOMP] Apply changes proposed by learn_more which supposedly fix the GCCWin build
Modified:
trunk/reactos/tools/hhpcomp/chmc/chmc.c
trunk/reactos/tools/hhpcomp/utils.cpp
Modified: trunk/reactos/tools/hhpcomp/chmc/chmc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/hhpcomp/chmc/chmc.c?…
==============================================================================
--- trunk/reactos/tools/hhpcomp/chmc/chmc.c [iso-8859-1] (original)
+++ trunk/reactos/tools/hhpcomp/chmc/chmc.c [iso-8859-1] Tue Aug 11 21:06:37 2015
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifndef __GNUC__
+#if !defined(__GNUC__) || defined(__MINGW32__)
typedef int (*__compar_fn_t)(const void *, const void *);
#endif
Modified: trunk/reactos/tools/hhpcomp/utils.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/hhpcomp/utils.cpp?re…
==============================================================================
--- trunk/reactos/tools/hhpcomp/utils.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/hhpcomp/utils.cpp [iso-8859-1] Tue Aug 11 21:06:37 2015
@@ -22,6 +22,7 @@
#include <stdexcept>
#if defined(_WIN32)
+ #define WIN32_LEAN_AND_MEAN
#include <windows.h> // for GetFullPathNameA
#else
#include <unistd.h>