|
|
|
|
Index: build/gmake/Makefile
|
|
|
|
|
--- build/gmake/Makefile.orig 2007-01-21 21:20:58 +0100
|
|
|
|
|
+++ build/gmake/Makefile 2007-02-02 08:29:47 +0100
|
|
|
|
|
@@ -91,12 +91,12 @@
|
|
|
|
|
# For optimised builds, flags such as "-O2" should be added and -D_DEBUG=1
|
|
|
|
|
# disabled.
|
|
|
|
|
CC= gcc
|
|
|
|
|
-CFLAGS= -g -pedantic -Wall -Wno-switch -Wno-parentheses -I $(INCDIR)
|
|
|
|
|
+CFLAGS= -I$(INCDIR)
|
|
|
|
|
# flags only supported with gcc 3.x
|
|
|
|
|
CFLAGS += -Wunused-parameter
|
|
|
|
|
|
|
|
|
|
OTHERCFLAGS=
|
|
|
|
|
-OTHERCFLAGS+= -D_DEBUG=1
|
|
|
|
|
+# OTHERCFLAGS+= -D_DEBUG=1
|
|
|
|
|
# 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
|
|
|
|
|
|