aboutsummaryrefslogtreecommitdiff
path: root/libtcc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc1.c')
-rw-r--r--libtcc1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtcc1.c b/libtcc1.c
index 96bf22c..b079477 100644
--- a/libtcc1.c
+++ b/libtcc1.c
@@ -106,6 +106,9 @@ union float_long {
long l;
};
+/* XXX: we don't support several builtin supports for now */
+#ifndef __x86_64__
+
/* XXX: use gcc/tcc intrinsic ? */
#if defined(__i386__)
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
@@ -482,6 +485,8 @@ unsigned short __tcc_fpu_control = 0x137f;
unsigned short __tcc_int_fpu_control = 0x137f | 0x0c00;
#endif
+#endif /* !__x86_64__ */
+
/* XXX: fix tcc's code generator to do this instead */
float __floatundisf(unsigned long long a)
{