summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-01 15:17:18 +0000
committerTim Angus <tim@ngus.net>2013-01-09 22:37:40 +0000
commit22f9847cfff218661fc36d48bcc28117dec5cd14 (patch)
tree01b5b4e541849b9e5184bded4b2f836439eee74a /src/asm
parent55232ad01e1a0a44aabda3d3aeb4764a9ecae822 (diff)
- Add x86_64 support to vm_x86.c - Fix warning on mingw64
Diffstat (limited to 'src/asm')
-rw-r--r--src/asm/ftola.s3
-rw-r--r--src/asm/qasm.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/asm/ftola.s b/src/asm/ftola.s
index 7e9c523e..bbdc8168 100644
--- a/src/asm/ftola.s
+++ b/src/asm/ftola.s
@@ -29,8 +29,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qasm.h"
-#if id386
-
.data
temp: .single 0.0
@@ -157,4 +155,3 @@ C(Q_ftol0F7F):
fldcw fpucw
movl temp,%eax
ret
-#endif
diff --git a/src/asm/qasm.h b/src/asm/qasm.h
index d4b16742..64a60521 100644
--- a/src/asm/qasm.h
+++ b/src/asm/qasm.h
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.section .note.GNU-stack,"",@progbits
#endif
-#ifdef __ELF__
+#if defined(__ELF__) || defined(__WIN64__)
#define C(label) label
#else
#define C(label) _##label