d1b371da09
>From: Eduardo Alvarenga <eduardo at thrx.org>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
$OpenBSD: patch-include_platform_h,v 1.2 2004/07/14 14:07:45 xsa Exp $
|
|
--- include/platform.h.orig Fri Mar 19 09:00:57 2004
|
|
+++ include/platform.h Wed Jul 14 15:51:59 2004
|
|
@@ -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 USER_CONFIG_FILE "~/.tidyrc" */
|
|
+#define 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 */
|
|
@@ -497,7 +497,7 @@ extern "C" {
|
|
#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)
|
|
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)
|
|
typedef unsigned long ulong;
|
|
#endif
|
|
|