fixed more flaws in the sample programs

This commit is contained in:
hyung-hwan 2018-09-18 09:15:31 +00:00
parent 953bb70a56
commit a9d5a27d43
3 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,9 @@
#include <qse/si/sio.h>
#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;
#else
typedef std::string String;

View File

@ -2,7 +2,9 @@
#include <qse/si/sio.h>
#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;
#else
typedef std::string String;

View File

@ -36,7 +36,9 @@
#endif
#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;
#else
typedef std::string String;