7725a868f3
tidyp is a program that can validate your HTML, as well as modify it to be more clean and standard. tidyp does not validate HTML 5. libtidyp is the library on which the program is based. It can be used by any other program that can interface to it. ok sthen@
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
$OpenBSD: patch-include_platform_h,v 1.1.1.1 2011/03/10 19:34:01 jasper Exp $
|
|
--- 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
|