Commit 4b13ed86 authored by Julien Michel's avatar Julien Michel

COMP: Fixed compilation error on visual

parent 30798a1f
......@@ -112,6 +112,9 @@ ELSE(OTB_USE_EXTERNAL_EXPAT)
ADD_DEFINITIONS(-DOTB_USE_INTERNAL_EXPAT)
INCLUDE_DIRECTORIES(BEFORE "${OTB_SOURCE_DIR}/Utilities/otbexpat")
INCLUDE_DIRECTORIES(BEFORE "${OTB_BINARY_DIR}/Utilities/otbexpat")
IF(NOT BUILD_SHARED_LIBS)
ADD_DEFINITIONS(-DXML_STATIC)
ENDIF(NOT BUILD_SHARED_LIBS)
ENDIF(OTB_USE_EXTERNAL_EXPAT)
#-------------------------------
......
......@@ -21,7 +21,8 @@
#endif /* ndef COMPILED_FROM_DSP */
#include "ascii.h"
#include "expat.h"
// OTB Modifications
#include "otb_expat.h"
#ifdef XML_UNICODE
#define XML_ENCODE_MAX XML_UTF16_ENCODE_MAX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment