add a check for STD_NUMERIC_CONVERSIONS_NOT_SUPPORTED
This commit is contained in:
parent
4c36dec82a
commit
2b5593a8ac
@ -153,9 +153,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NANA_MINGW)
|
#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
|
#define STD_NUMERIC_CONVERSIONS_NOT_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (__GNUC_MINOR__ < 8)
|
#if (__GNUC_MINOR__ < 8)
|
||||||
//introduce to_string/to_wstring workaround for lack of stdlib definitions
|
//introduce to_string/to_wstring workaround for lack of stdlib definitions
|
||||||
|
|||||||
@ -112,7 +112,7 @@ namespace nana { namespace experimental { namespace filesystem
|
|||||||
public:
|
public:
|
||||||
#if defined(NANA_WINDOWS)
|
#if defined(NANA_WINDOWS)
|
||||||
using value_type = wchar_t;
|
using value_type = wchar_t;
|
||||||
const static value_type preferred_separator = L'\\'; //? L'\\' ?
|
const static value_type preferred_separator = L'\\';
|
||||||
#else
|
#else
|
||||||
using value_type = char;
|
using value_type = char;
|
||||||
const static value_type preferred_separator = '/';
|
const static value_type preferred_separator = '/';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user