summaryrefslogtreecommitdiff
path: root/src/x86/sysv.S
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2017-03-19 07:36:07 -0400
committerAnthony Green <green@moxielogic.com>2017-03-19 07:36:07 -0400
commita94c999ba0d51ed8ec88685233f5b1ae38e894ea (patch)
treeab3dc34b36cc3ba2c0582165596ddc40120216b4 /src/x86/sysv.S
parent69963d39ab7d7f201b4597ed7a24cf438e0a34bf (diff)
downloadlibffi-a94c999ba0d51ed8ec88685233f5b1ae38e894ea.tar.gz
Handle fastcall declaration differently for some Microsoft compilers
Diffstat (limited to 'src/x86/sysv.S')
-rw-r--r--src/x86/sysv.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/x86/sysv.S b/src/x86/sysv.S
index 78f245b..116e908 100644
--- a/src/x86/sysv.S
+++ b/src/x86/sysv.S
@@ -1,6 +1,7 @@
/* -----------------------------------------------------------------------
- sysv.S - Copyright (c) 2013 The Written Word, Inc.
- - Copyright (c) 1996,1998,2001-2003,2005,2008,2010 Red Hat, Inc.
+ sysv.S - Copyright (c) 2017 Anthony Green
+ - Copyright (c) 2013 The Written Word, Inc.
+ - Copyright (c) 1996,1998,2001-2003,2005,2008,2010 Red Hat, Inc.
X86 Foreign Function Interface
@@ -26,6 +27,7 @@
----------------------------------------------------------------------- */
#ifndef __x86_64__
+#ifndef _MSC_VER
#define LIBFFI_ASM
#include <fficonfig.h>
@@ -1033,6 +1035,7 @@ L(SFDE9):
L(EFDE9):
#endif /* !FFI_NO_RAW_API */
+#endif /* ifndef _MSC_VER */
#endif /* ifndef __x86_64__ */
#if defined __ELF__ && defined __linux__