Improved support for MinGW cross compile builds

Cross compile support for Win32 and Win64 has been unified,
simplified and adapted to the new MinGW64-based build environment.
This finally allows to produce working Win64 binaries.
This commit is contained in:
Tobias Doerffel
2010-04-06 11:47:50 +02:00
parent ceacb484a1
commit 51103bb674
12 changed files with 94 additions and 98 deletions

View File

@@ -37,6 +37,9 @@
#define PREFETCH_READ(x) PREFETCH_RW(x,0)
#define PREFETCH_WRITE(x) PREFETCH_RW(x,1)
/* workaround for conflicting declarations in GCC and MinGW headers */
#define _aligned_malloc __aligned_malloc
#define _aligned_free __aligned_free
#ifdef X86_OPTIMIZATIONS