be18cd58bc
ok alek@
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
$OpenBSD: patch-include_platform_h,v 1.3 2005/07/19 08:10:10 aanriot Exp $
|
|
--- include/platform.h.orig Fri Jul 1 20:41:09 2005
|
|
+++ include/platform.h Fri Jul 1 20:42:55 2005
|
|
@@ -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 */
|
|
@@ -504,7 +504,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
|
|
|