summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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