diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-12-16 14:21:24 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-12-16 14:21:24 +0100 |
commit | 105a2594b2f882b6a60e16311c9b172452fd70d4 (patch) | |
tree | 0fdd54f9aa0780e4897c1cf8df1ab3cf72fbe2e5 | |
parent | c43a413414a8bd3cf4d61b5716606bfe8b4d060e (diff) |
Force C locale for the lexical cast conversions
Change-Id: Ice5a8e733129970d64fd209d01907b747fc3b62d
-rw-r--r-- | src/lib/VSDXMLHelper.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/VSDXMLHelper.cpp b/src/lib/VSDXMLHelper.cpp index bef794d..1a9fae0 100644 --- a/src/lib/VSDXMLHelper.cpp +++ b/src/lib/VSDXMLHelper.cpp @@ -27,9 +27,10 @@ * instead of those above. */ -#include <string.h> -#include <errno.h> -#include <limits.h> +#ifndef BOOST_LEXICAL_CAST_ASSUME_C_LOCALE +#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE 1 +#endif + #include <sstream> #include <istream> #include <vector> |