|
|
@ -745,7 +745,7 @@ |
|
|
|
// With MinGW-W64, including intrinsic headers before intrin.h will produce some errors. The problem is
|
|
|
|
// 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.
|
|
|
|
// 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.
|
|
|
|
// 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> |
|
|
|
# include <intrin.h> |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|