mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
fix x86/x64 MSVC build (#487)
This commit is contained in:
committed by
Anthony Green
parent
db5706ff28
commit
06bf1a9dea
+1
-1
@@ -40,7 +40,7 @@ install:
|
||||
$env:VCVARS_PLATFORM="amd64"
|
||||
$env:BUILD="x86_64-w64-cygwin"
|
||||
$env:HOST="x86_64-w64-cygwin"
|
||||
$env:ASSEMBLER="/cygdrive/c/projects/libffi/msvcc.sh -m64"
|
||||
$env:MSVCC="/cygdrive/c/projects/libffi/msvcc.sh -m64"
|
||||
$env:SRC_ARCHITECTURE="x86"
|
||||
}
|
||||
- 'appveyor DownloadFile https://cygwin.com/setup-x86.exe -FileName setup.exe'
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__) || defined(_M_IX86)
|
||||
#include <ffi.h>
|
||||
#include <ffi_common.h>
|
||||
#include <stdint.h>
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __x86_64__
|
||||
#if defined(__x86_64__) || defined(_M_AMD64)
|
||||
#include <ffi.h>
|
||||
#include <ffi_common.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user