openbsd-ports/textproc/xerces-c/patches/patch-src_xercesc_util_XercesDefs_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

15 lines
652 B
Plaintext

$OpenBSD: patch-src_xercesc_util_XercesDefs_hpp,v 1.1.1.1 2008/10/26 23:15:17 ajacoutot Exp $
--- src/xercesc/util/XercesDefs.hpp.orig Sun Oct 26 19:55:38 2008
+++ src/xercesc/util/XercesDefs.hpp Sun Oct 26 19:56:36 2008
@@ -237,6 +237,10 @@ typedef XMLUInt32 UCS4Ch;
#include <xercesc/util/Platforms/NetBSD/NetBSDDefs.hpp>
#endif
+#if defined(XML_OPENBSD)
+#include <xercesc/util/Platforms/OpenBSD/OpenBSDDefs.hpp>
+#endif
+
// ---------------------------------------------------------------------------
// According to whether the compiler suports L"" type strings, we define
// the XMLStrL() macro one way or another.