use __int128_t to define CmiInt16
[charm.git] / src / conv-core / converse.h
index c4d14ef3e42237ad7e401485ab2a5a1e644283ee..a9d0d27de7e1d73716154d554de63716b963a319 100644 (file)
@@ -528,7 +528,11 @@ typedef CMK_TYPEDEF_INT8      CmiInt8;
 typedef CMK_TYPEDEF_UINT2     CmiUInt2;
 typedef CMK_TYPEDEF_UINT4     CmiUInt4;
 typedef CMK_TYPEDEF_UINT8     CmiUInt8;
-#if CMK___int128_DEFINED
+#if CMK___int128_t_DEFINED
+typedef __int128_t            CmiInt16;
+typedef __uint128_t           CmiUInt16;
+#define CMK_HAS_INT16         1
+#elif CMK___int128_DEFINED
 typedef __int128              CmiInt16;
 typedef unsigned __int128     CmiUInt16;
 #define CMK_HAS_INT16         1