From 2554f3e93a49161b3f41053793d2bb01615421d5 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 7 May 2013 20:24:54 +0200 Subject: [PATCH] + try to fix compilation issue on OSX --- src/common/componentTools.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/componentTools.h b/src/common/componentTools.h index 74c83bcc9..9d5ad5ad5 100644 --- a/src/common/componentTools.h +++ b/src/common/componentTools.h @@ -20,6 +20,10 @@ #ifndef KIWIX_COMPONENTTOOLS_H #define KIWIX_COMPONENTTOOLS_H +#ifdef __APPLE__ + typedef uint16_t char16_t; +#endif + #include "nsStringAPI.h" const char *nsStringToCString(const nsAString &str);