fixed more flaws in the sample programs
This commit is contained in:
parent
953bb70a56
commit
a9d5a27d43
@ -2,7 +2,9 @@
|
|||||||
#include <qse/si/sio.h>
|
#include <qse/si/sio.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if defined(QSE_CHAR_IS_WCHAR)
|
#if defined(QSE_CHAR_IS_WCHAR) && defined(QSE_WCHAR_IS_CHAR16_T)
|
||||||
|
typedef std::basic_string<char16_t> String;
|
||||||
|
#elif defined(QSE_CHAR_IS_WCHAR)
|
||||||
typedef std::wstring String;
|
typedef std::wstring String;
|
||||||
#else
|
#else
|
||||||
typedef std::string String;
|
typedef std::string String;
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
#include <qse/si/sio.h>
|
#include <qse/si/sio.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#if defined(QSE_CHAR_IS_WCHAR)
|
#if defined(QSE_CHAR_IS_WCHAR) && defined(QSE_WCHAR_IS_CHAR16_T)
|
||||||
|
typedef std::basic_string<char16_t> String;
|
||||||
|
#elif defined(QSE_CHAR_IS_WCHAR)
|
||||||
typedef std::wstring String;
|
typedef std::wstring String;
|
||||||
#else
|
#else
|
||||||
typedef std::string String;
|
typedef std::string String;
|
||||||
|
@ -36,7 +36,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#if defined(QSE_CHAR_IS_WCHAR)
|
#if defined(QSE_CHAR_IS_WCHAR) && defined(QSE_WCHAR_IS_CHAR16_T)
|
||||||
|
typedef std::basic_string<char16_t> String;
|
||||||
|
#elif defined(QSE_CHAR_IS_WCHAR)
|
||||||
typedef std::wstring String;
|
typedef std::wstring String;
|
||||||
#else
|
#else
|
||||||
typedef std::string String;
|
typedef std::string String;
|
||||||
|
Loading…
Reference in New Issue
Block a user