summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan@mozilla.com>2014-06-11 12:07:24 -0400
committerEhsan Akhgari <ehsan@mozilla.com>2014-06-12 20:42:18 -0400
commitfb25cd08ed5a87640b02f0feeb10a09b37cfddbe (patch)
treede0b00ad8945cbb090db4b20e17499d93db70503 /include
parentdf31a85103b0cc232bbc340d7e782a3853c7fad5 (diff)
downloadlibffi-fb25cd08ed5a87640b02f0feeb10a09b37cfddbe.tar.gz
Add support for building with clang-cl
Diffstat (limited to 'include')
-rw-r--r--include/ffi.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ffi.h.in b/include/ffi.h.in
index 70c6179..ebed0aa 100644
--- a/include/ffi.h.in
+++ b/include/ffi.h.in
@@ -68,7 +68,7 @@ extern "C" {
#ifndef LIBFFI_ASM
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
#define __attribute__(X)
#endif