deps/libffi: Fixed 64 bit/Windows check (caused warning about ffs on Windows/64 bit)
authorJerome St-Louis <jerome@ecere.com>
Sun, 10 Mar 2013 03:34:32 +0000 (22:34 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sun, 10 Mar 2013 03:34:32 +0000 (22:34 -0500)
deps/libffi-3.0.11/i686-pc-mingw32/include/ffi.h

index d1694f6..6e4306c 100644 (file)
@@ -58,7 +58,8 @@ extern "C" {
 #endif
 
 /* Specify which architecture libffi is configured for. */
-#ifdef _W64
+#if defined(__MINGW32__)
+#if defined(__x86_64__)
 
 #ifndef X86_WIN64
 #define X86_WIN64
@@ -71,6 +72,7 @@ extern "C" {
 #endif
 
 #endif
+#endif
 
 /* ---- System configuration information --------------------------------- */