summaryrefslogtreecommitdiff
path: root/plugingui/testmain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 8edfd0a..b1697eb 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -48,7 +48,7 @@ int main()
while(main_window.processEvents())
{
-#ifdef WIN32
+#if DG_PLATFORM == DG_PLATFORM_WINDOWS
SleepEx(50, FALSE);
#else
usleep(50000);