summaryrefslogtreecommitdiff
path: root/plugingui/tests/tabwidgettest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-17 15:00:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-17 15:30:16 +0100
commit4363187d4e86c63d9465cbe7296d11fdc7815e32 (patch)
tree33005bd8183d74825b44bc4d47680faf7df009f0 /plugingui/tests/tabwidgettest.cc
parent70e08d1325b2cdd0e9c16a193cc6ed10d2d21617 (diff)
Replace obsolete WIN32 ifdefs with platform define.
Diffstat (limited to 'plugingui/tests/tabwidgettest.cc')
-rw-r--r--plugingui/tests/tabwidgettest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/tests/tabwidgettest.cc b/plugingui/tests/tabwidgettest.cc
index e187fee..ca24040 100644
--- a/plugingui/tests/tabwidgettest.cc
+++ b/plugingui/tests/tabwidgettest.cc
@@ -155,7 +155,7 @@ int main()
while(test_window.processEvents())
{
-#ifdef WIN32
+#if DG_PLATFORM == DG_PLATFORM_WINDOWS
SleepEx(50, FALSE);
#else
usleep(50000);