fix uchar for Mac
@@ -182,6 +182,10 @@ typedef wchar_t uchar;
# define utoi(s,end) wcstol(s,end,10)
# define ucmp(a,b) wcscmp(a,b)
# define utostr(out,size,str) wcstombs(out,str,size)
+#elif defined(HL_MAC)
+typedef uint16_t uchar;
+# undef USTR
+# define USTR(str) u##str
#else
# include <stdarg.h>
# include <uchar.h>
