openbsd-ports/textproc/xerces-c/patches/patch-src_xercesc_util_AutoSense_hpp
ajacoutot ec4f145d94 Import xerces-c-2.8.0
Xerces-C++ is a validating XML parser written in a portable subset of
C++.  Xerces-C++ makes it easy to give your application the ability to
read and write XML data.  A shared library is provided for parsing,
generating, manipulating, and validating XML documents using the DOM,
SAX, and SAX2 APIs.  For an introduction to programming with Xerces-C++
refer to the Programming Guide.
<...>

ok landry@
2008-10-26 23:15:15 +00:00

14 lines
460 B
Plaintext

$OpenBSD: patch-src_xercesc_util_AutoSense_hpp,v 1.1.1.1 2008/10/26 23:15:17 ajacoutot Exp $
--- src/xercesc/util/AutoSense.hpp.orig Sun Oct 26 19:52:30 2008
+++ src/xercesc/util/AutoSense.hpp Sun Oct 26 19:53:28 2008
@@ -107,6 +107,9 @@
#define XML_TRU64
#elif defined(__NetBSD__)
#define XML_NETBSD
+#elif defined(__OpenBSD__)
+ #define XML_OPENBSD
+ #define XML_UNIX
#elif defined(__INTERIX)
#define XML_INTERIX
#define XML_UNIX