summaryrefslogtreecommitdiff
path: root/src/win32_memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32_memory.cpp')
-rw-r--r--src/win32_memory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win32_memory.cpp b/src/win32_memory.cpp
index ba7826240..9da1b7812 100644
--- a/src/win32_memory.cpp
+++ b/src/win32_memory.cpp
@@ -11,6 +11,8 @@
* ---------------------------------------------------
*/
+#ifdef _WIN32
+
#include <windows.h>
#include <exception>
#include <new>
@@ -55,3 +57,5 @@ void operator delete[](void *ptr)
{
HeapFree(GetProcessHeap(), 0, ptr);
}
+
+#endif