29 lines
963 B
Text
29 lines
963 B
Text
--- include/platform.h.orig Thu Mar 10 18:47:30 2011
|
|
+++ include/platform.h Thu Mar 10 18:48:35 2011
|
|
@@ -33,7 +33,7 @@ extern "C" {
|
|
It enables tidy to find config files named ~/.tidyrc if
|
|
the HTML_TIDY environment variable is not set.
|
|
*/
|
|
-/* #define TIDY_USER_CONFIG_FILE "~/.tidyrc" */
|
|
+#define TIDY_USER_CONFIG_FILE "~/.tidyrc"
|
|
|
|
/*
|
|
Uncomment the following #define if your
|
|
@@ -48,7 +48,7 @@ extern "C" {
|
|
Contributed by Todd Lewis.
|
|
*/
|
|
|
|
-/* #define SUPPORT_GETPWNAM */
|
|
+#define SUPPORT_GETPWNAM
|
|
|
|
|
|
/* Enable/disable support for Big5 and Shift_JIS character encodings */
|
|
@@ -520,7 +520,7 @@ extern "C" {
|
|
# undef uint
|
|
typedef unsigned int uint;
|
|
#endif
|
|
-#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) || defined(_WIN32)
|
|
+#if defined(HPUX_OS) || defined(CYGWIN_OS) || defined(MAC_OS) || defined(BSD_BASED_OS) && !defined(__OpenBSD__) || defined(_WIN32)
|
|
# undef ulong
|
|
typedef unsigned long ulong;
|
|
#endif
|