[Ttssh2-commit] [8836] char32_t, char16_t の typedef を VS2010 より前のとき行うようにした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 7月 5日 (日) 00:59:53 JST


Revision: 8836
          https://osdn.net/projects/ttssh2/scm/svn/commits/8836
Author:   zmatsuo
Date:     2020-07-05 00:59:52 +0900 (Sun, 05 Jul 2020)
Log Message:
-----------
char32_t, char16_t の typedef を VS2010 より前のとき行うようにした

Modified Paths:
--------------
    trunk/teraterm/common/ttcstd.h

-------------- next part --------------
Modified: trunk/teraterm/common/ttcstd.h
===================================================================
--- trunk/teraterm/common/ttcstd.h	2020-07-04 15:59:40 UTC (rev 8835)
+++ trunk/teraterm/common/ttcstd.h	2020-07-04 15:59:52 UTC (rev 8836)
@@ -36,7 +36,9 @@
 #endif
 
 // unicode
-#if !defined(__cplusplus) || (defined(_MSC_VER) && (_MSC_VER < 1926))
+#if !defined(__cplusplus) || (defined(_MSC_VER) && (_MSC_VER < 1600))
+// VS2010\x82\xA9\x82瑶\x8D\xDD
+//  from https://cpprefjp.github.io/implementation-status.html
 typedef unsigned long char32_t;		// C++11 for UTF-32
 typedef wchar_t char16_t;			// C++11 for UTF-16
 #endif


Ttssh2-commit メーリングリストの案内
Back to archive index