summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-03-25 16:49:53 +0200
committerDavid Tardon <dtardon@redhat.com>2018-03-25 16:49:53 +0200
commitc1bb49486e73e9e19944be6a995e3bbd96210f8f (patch)
tree1baa8e7c9f3f444971ef40a1275f7028bbc8a53b
parent5fa2b1a754a026f7c36f339b396574c1c43700c8 (diff)
move define where it should be
Change-Id: Ie8080354158b01bd29c14105dce3919eb19a01e6
-rw-r--r--src/lib/VSDXMLHelper.cpp4
-rw-r--r--src/lib/libvisio_xml.cpp3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/VSDXMLHelper.cpp b/src/lib/VSDXMLHelper.cpp
index c0e1cf5..6f483b8 100644
--- a/src/lib/VSDXMLHelper.cpp
+++ b/src/lib/VSDXMLHelper.cpp
@@ -7,10 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
-#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE 1
-#endif
-
#include "VSDXMLHelper.h"
#include <memory>
diff --git a/src/lib/libvisio_xml.cpp b/src/lib/libvisio_xml.cpp
index fb18627..df0c5f9 100644
--- a/src/lib/libvisio_xml.cpp
+++ b/src/lib/libvisio_xml.cpp
@@ -9,6 +9,9 @@
#include "libvisio_xml.h"
+#ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
+#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE 1
+#endif
#include <boost/lexical_cast.hpp>
#include "VSDTypes.h"