summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
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