From: Josh DuBois Date: Tue, 12 Feb 2013 17:55:35 +0000 (-0600) Subject: Include to allow cross-compilation from OS X. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44aa3ba8ecf3229ed4dd58103abfd5e4766c4337;p=gc Include to allow cross-compilation from OS X. Cross-compiling mono on an OS X host for a Windows target using mingw-w64 fails because of undefined __int64 types in a couple of places. Including fixes this and allows the OS X host to cross-compile a Windows mono. It probably sounds like an obscure use-case, but the wine-mono project does just this, so ability to cross-compile for Windows on OS X is crucial to being able to build wine-mono on a Mac. --- diff --git a/include/gc.h b/include/gc.h index cd9efcd1..123d6cce 100644 --- a/include/gc.h +++ b/include/gc.h @@ -61,6 +61,7 @@ /* Win64 isn't really supported yet, but this is the first step. And */ /* it might cause error messages to show up in more plausible places. */ /* This needs basetsd.h, which is included by windows.h. */ + #include typedef unsigned __int64 GC_word; typedef __int64 GC_signed_word; #endif