aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include/ccomp_k1c_fixes.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/include/ccomp_k1c_fixes.h')
-rw-r--r--runtime/include/ccomp_k1c_fixes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/include/ccomp_k1c_fixes.h b/runtime/include/ccomp_k1c_fixes.h
new file mode 100644
index 00000000..679ab1ac
--- /dev/null
+++ b/runtime/include/ccomp_k1c_fixes.h
@@ -0,0 +1,11 @@
+#ifndef __CCOMP_KIC_FIXES_H
+#define __CCOMP_KIC_FIXES_H
+
+#undef __GNUC__
+#define __thread
+
+struct __int128_ccomp { long __int128_ccomp_low; long __int128_ccomp_high; };
+
+#define __int128 struct __int128_ccomp
+
+#endif