diff options
-rw-r--r-- | OpenAL32/alError.cpp | 2 | ||||
-rw-r--r-- | common/almalloc.cpp | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/OpenAL32/alError.cpp b/OpenAL32/alError.cpp index 092784c9..5f98ae1d 100644 --- a/OpenAL32/alError.cpp +++ b/OpenAL32/alError.cpp @@ -29,7 +29,7 @@ #include <cstring> #include <mutex> -#ifdef HAVE_WINDOWS_H +#ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #endif diff --git a/common/almalloc.cpp b/common/almalloc.cpp index 2902a087..8ab48248 100644 --- a/common/almalloc.cpp +++ b/common/almalloc.cpp @@ -10,11 +10,6 @@ #ifdef HAVE_MALLOC_H #include <malloc.h> #endif -#ifdef HAVE_WINDOWS_H -#include <windows.h> -#else -#include <unistd.h> -#endif #define ALIGNED_ALLOC_AVAILABLE (__STDC_VERSION__ >= 201112L || __cplusplus >= 201703L) |