|
|
@@ -16,3 +16,18 @@ Index: build/gmake/Makefile
|
|
|
# OTHERCFLAGS+= -fvisibility=hidden -DTIDY_EXPORT='__attribute__((visibility("default")))'
|
|
|
ifdef SUPPORT_UTF16_ENCODINGS
|
|
|
CFLAGS += -DSUPPORT_UTF16_ENCODINGS=$(SUPPORT_UTF16_ENCODINGS)
|
|
|
+Index: include/platform.h
|
|
|
+--- include/platform.h.orig Sun Jan 21 21:36:21 2007
|
|
|
++++ include/platform.h Wed Mar 12 09:30:39 2008
|
|
|
+@@ -511,9 +511,11 @@
|
|
|
+ #include <sys/types.h>
|
|
|
+ #endif
|
|
|
+ #if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS)
|
|
|
++# undef uint
|
|
|
+ typedef unsigned int uint;
|
|
|
+ #endif
|
|
|
+ #if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
|
|
|
++# undef ulong
|
|
|
+ typedef unsigned long ulong;
|
|
|
+ #endif
|
|
|
+
|