Author: pschweitzer
Date: Tue Sep 1 22:44:56 2015
New Revision: 68906
URL:
http://svn.reactos.org/svn/reactos?rev=68906&view=rev
Log:
[HHPCOMP]
Fix headers inclusion on MacOSX.
This fixes hhpcomp build on MacOSX
Patch by Nicolas Rouvière
CORE-10084 #resolve #comment Committed in r68906. Thanks!
Modified:
trunk/reactos/tools/hhpcomp/chmc/chmc.c
trunk/reactos/tools/hhpcomp/lzx_compress/lz_nonslide.h
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 Sep 1 22:44:56 2015
@@ -26,7 +26,7 @@
#include <string.h>
#include <assert.h>
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__APPLE__)
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
Modified: trunk/reactos/tools/hhpcomp/lzx_compress/lz_nonslide.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/hhpcomp/lzx_compress…
==============================================================================
--- trunk/reactos/tools/hhpcomp/lzx_compress/lz_nonslide.h [iso-8859-1] (original)
+++ trunk/reactos/tools/hhpcomp/lzx_compress/lz_nonslide.h [iso-8859-1] Tue Sep 1
22:44:56 2015
@@ -16,7 +16,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__APPLE__)
typedef unsigned char u_char;
#endif