summaryrefslogtreecommitdiff
path: root/plugingui/tests
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-01 18:13:08 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-01 18:13:08 +0200
commit856e9e2581750f58ac382baab1993438d1b08657 (patch)
tree351a061ff2e79889c759ba8370cae0b73090c779 /plugingui/tests
parent4bf40fd8fcffecc5e6360e874a11d0cdd1a17ad0 (diff)
(Hopefully) Fix another Windows compile error.
Diffstat (limited to 'plugingui/tests')
-rw-r--r--plugingui/tests/framewidgettest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/tests/framewidgettest.cc b/plugingui/tests/framewidgettest.cc
index 38656b7..5dff73c 100644
--- a/plugingui/tests/framewidgettest.cc
+++ b/plugingui/tests/framewidgettest.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