Fixed MinGW32 build

This commit is contained in:
Christophe Riccio
2015-02-14 00:19:47 +01:00
parent d33974afa6
commit 7751bd4af4
3 changed files with 4 additions and 4 deletions

View File

@@ -745,7 +745,7 @@
// With MinGW-W64, including intrinsic headers before intrin.h will produce some errors. The problem is
// that windows.h (and maybe other headers) will silently include intrin.h, which of course causes problems.
// To fix, we just explicitly include intrin.h here.
#if defined(__MINGW32__) && (GLM_ARCH != GLM_ARCH_PURE)
#if defined(__MINGW64__) && (GLM_ARCH != GLM_ARCH_PURE)
# include <intrin.h>
#endif