diff options
author | Ben.Lippmeier@anu.edu.au <unknown> | 2009-11-18 04:39:01 +0000 |
---|---|---|
committer | Ben.Lippmeier@anu.edu.au <unknown> | 2009-11-18 04:39:01 +0000 |
commit | 0e7562e8783042a9a8d3e4e0220d87b0946cb816 (patch) | |
tree | ef2654c9c5ba59f48e94fba695b9f161b81435ca /libffi | |
parent | 158e71360bfad8b8ee037e0f6ab81a6e8ced2e03 (diff) | |
download | haskell-0e7562e8783042a9a8d3e4e0220d87b0946cb816.tar.gz |
Windows DLLs: add #ifdefery to turn off DLL import of libffi when building statically.
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/libffi.dllize-3.0.8.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/libffi.dllize-3.0.8.patch b/libffi/libffi.dllize-3.0.8.patch index 9967180d76..be9705d0b4 100644 --- a/libffi/libffi.dllize-3.0.8.patch +++ b/libffi/libffi.dllize-3.0.8.patch @@ -41,7 +41,7 @@ diff -Nur libffi-3.0.8/include/ffi.h.in dllize-3.0.8/include/ffi.h.in #define @TARGET@ #endif -+#if @LIBFFI_DLL@ ++#if @LIBFFI_DLL@ && !defined(LIBFFI_NOT_DLL) +#ifdef DLL_EXPORT +#define __FFI_DECLSPEC __declspec(__dllexport__) +#else |