diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-17 12:34:51 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-17 13:31:39 +0100 |
commit | 70e08d1325b2cdd0e9c16a193cc6ed10d2d21617 (patch) | |
tree | a6b409a6efed58280c5f9af71ff7fd517873ad4e /plugingui/tests | |
parent | baed7f32c7608532012a90804629b54e2d8c6f81 (diff) |
Win32 build fixes.
Diffstat (limited to 'plugingui/tests')
-rw-r--r-- | plugingui/tests/resizetest.cc | 4 | ||||
-rw-r--r-- | plugingui/tests/tabwidgettest.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/plugingui/tests/resizetest.cc b/plugingui/tests/resizetest.cc index 213cece..2267030 100644 --- a/plugingui/tests/resizetest.cc +++ b/plugingui/tests/resizetest.cc @@ -26,7 +26,9 @@ */ #include <iostream> -#ifdef WIN32 +#include <platform.h> + +#if DG_PLATFORM == DG_PLATFORM_WINDOWS #define WIN32_LEAN_AND_MEAN #include <windows.h> #endif diff --git a/plugingui/tests/tabwidgettest.cc b/plugingui/tests/tabwidgettest.cc index 2ddabd3..e187fee 100644 --- a/plugingui/tests/tabwidgettest.cc +++ b/plugingui/tests/tabwidgettest.cc @@ -26,7 +26,9 @@ */ #include <iostream> -#ifdef WIN32 +#include <platform.h> + +#if DG_PLATFORM == DG_PLATFORM_WINDOWS #define WIN32_LEAN_AND_MEAN #include <windows.h> #endif |