summaryrefslogtreecommitdiff
path: root/plugingui/tests/tabwidgettest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/tests/tabwidgettest.cc')
-rw-r--r--plugingui/tests/tabwidgettest.cc4
1 files changed, 3 insertions, 1 deletions
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