add a check for STD_NUMERIC_CONVERSIONS_NOT_SUPPORTED

This commit is contained in:
Jinhao 2016-03-11 23:01:24 +08:00
parent 4c36dec82a
commit 2b5593a8ac
2 changed files with 5 additions and 3 deletions

View File

@ -153,9 +153,11 @@
#endif
#if defined(NANA_MINGW)
//It's a knonwn issue under MinGW
#ifndef __MINGW64_VERSION_MAJOR
//It's a knonwn issue under MinGW(except MinGW-W64)
#define STD_NUMERIC_CONVERSIONS_NOT_SUPPORTED
#endif
#endif
#if (__GNUC_MINOR__ < 8)
//introduce to_string/to_wstring workaround for lack of stdlib definitions

View File

@ -112,7 +112,7 @@ namespace nana { namespace experimental { namespace filesystem
public:
#if defined(NANA_WINDOWS)
using value_type = wchar_t;
const static value_type preferred_separator = L'\\'; //? L'\\' ?
const static value_type preferred_separator = L'\\';
#else
using value_type = char;
const static value_type preferred_separator = '/';