From 22f9847cfff218661fc36d48bcc28117dec5cd14 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 1 Jun 2011 15:17:18 +0000 Subject: - Add x86_64 support to vm_x86.c - Fix warning on mingw64 --- src/asm/ftola.s | 3 --- src/asm/qasm.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/asm') 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 -- cgit