Add runtime support for STM Barrier class
[IRC.git] / Robust / src / Runtime / runtime.h
index 2ca7d2a7c220ca048539f01a34efec1c8a3a9dd5..032eb29f3d94d248051289a85f3d2d6f96c6ccf5 100644 (file)
@@ -8,6 +8,14 @@ extern int failurecount;
 #include "dstm.h"
 #endif
 
+#ifndef INTPTR
+#ifdef BIT64
+#define INTPTR long
+#else
+#define INTPTR int
+#endif
+#endif
+
 extern void * curr_heapbase;
 extern void * curr_heaptop;