aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-04-11 16:14:42 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-04-11 16:14:42 +0200
commitadc23369a9cdbae235916bf44560b8469dd4831f (patch)
treee8510681b9eaa6a4e663ce29a87e2a504b4839c1 /runtime/include
parentfa27e482f043116bb39ff4d410f12f0b09a18f3b (diff)
downloadcompcert-kvx-adc23369a9cdbae235916bf44560b8469dd4831f.tar.gz
compcert-kvx-adc23369a9cdbae235916bf44560b8469dd4831f.zip
cleaner: put all the special types, defines etc. in one header file
Diffstat (limited to 'runtime/include')
-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