From 0cf27535a76a967e1b6a61ea544b12bac6f99948 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Thu, 31 Jul 2014 18:24:11 +0800 Subject: [PATCH] Fixed a compiling problem with old versions of xerces-c (Reported by Kevin Moore) --- src/xmlcopyeditor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index 8287306..1c6f8cf 100644 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -878,6 +878,7 @@ MyFrame::MyFrame ( // Initialize Xerces-C++ WrapXerces::Init ( libxmlNetAccess ); +#if _XERCES_VERSION >= 30101 if ( XMLPlatformUtils::fgSSE2ok && xercescSSE2Warning && wxTheApp->argc == 1 ) @@ -894,6 +895,7 @@ MyFrame::MyFrame ( wxOK | wxCANCEL | wxICON_WARNING ) == wxOK; } +#endif // _XERCES_VERSION >= 30101 size_t findFlags = 0; findFlags |= wxFR_DOWN;