[openrtm-commit:03035] r3156 - branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 12月 16日 (土) 17:50:45 JST


Author: n-ando
Date: 2017-12-16 17:50:45 +0900 (Sat, 16 Dec 2017)
New Revision: 3156

Modified:
   branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/ConnectorListener.cpp
Log:
[compat,vc2008] stdint.h->cstdint and workaround for vc2008 added.

Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/ConnectorListener.cpp
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/ConnectorListener.cpp	2017-12-16 07:41:20 UTC (rev 3155)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/ConnectorListener.cpp	2017-12-16 08:50:45 UTC (rev 3156)
@@ -18,8 +18,17 @@
  */
 
 #include <rtm/ConnectorListener.h>
-#include <stdint.h>
 
+// cstdint
+#if defined (_MSC_VER) && (_MSC_VER <=1500) // VC2008(VC9.0) or before
+typedef __int32 int32_t;
+typedef unsigned __int32 uint32_t;
+typedef __int64 int64_t;
+typedef unsigned __int64 uint64_t;
+#else
+#include <cstdint>
+#endif
+
 namespace RTC
 {
   ConnectorListenerStatus::Enum operator|(ConnectorListenerStatus::Enum L,



More information about the openrtm-commit mailing list