From d52cb3708bd3a05f19e4fecbe29ac6f301b2d0b2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 6 Oct 2012 21:30:03 -0700 Subject: Include windows.h before cpuid.h to avoid __cpuid clashes --- Alc/helpers.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Alc') diff --git a/Alc/helpers.c b/Alc/helpers.c index 03672a17..2143a4c8 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -20,23 +20,6 @@ #include "config.h" -#include -#include -#include -#include -#ifdef HAVE_DLFCN_H -#include -#endif -#ifdef HAVE_CPUID_H -#include -#endif -#ifdef HAVE_FLOAT_H -#include -#endif -#ifdef HAVE_IEEEFP_H -#include -#endif - #if defined(HAVE_GUIDDEF_H) || defined(HAVE_INITGUID_H) #define INITGUID #include @@ -64,6 +47,23 @@ DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, #endif +#include +#include +#include +#include +#ifdef HAVE_DLFCN_H +#include +#endif +#ifdef HAVE_CPUID_H +#include +#endif +#ifdef HAVE_FLOAT_H +#include +#endif +#ifdef HAVE_IEEEFP_H +#include +#endif + #include "alMain.h" ALuint CPUCapFlags = 0; -- cgit v1.2.3