aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-07-28 15:16:13 -0700
committerChris Robinson <[email protected]>2019-07-28 15:16:13 -0700
commit585d965c921453e9097ada09ec63c67149aa6d72 (patch)
tree8ae27ef6f43e35c7f9d4c3fc1a4ddd8e15e0001e
parente0a795d9d2c5696d7f7c79d3e219af84c25a7776 (diff)
Remove a couple unnecessary includes
-rw-r--r--OpenAL32/alError.cpp2
-rw-r--r--common/almalloc.cpp5
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)