[HHPCOMP]
authorPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 22:44:56 +0000 (22:44 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 1 Sep 2015 22:44:56 +0000 (22:44 +0000)
Fix headers inclusion on MacOSX.
This fixes hhpcomp build on MacOSX
Patch by Nicolas Rouvière

CORE-10084 #resolve #comment Committed in r68906. Thanks!

svn path=/trunk/; revision=68906

reactos/tools/hhpcomp/chmc/chmc.c
reactos/tools/hhpcomp/lzx_compress/lz_nonslide.h

index a54fe26..a131ae1 100644 (file)
@@ -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>
index d6e28f2..829697f 100644 (file)
@@ -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