diff options
Diffstat (limited to 'plugingui/tests')
-rw-r--r-- | plugingui/tests/resizetest.cc | 2 | ||||
-rw-r--r-- | plugingui/tests/tabwidgettest.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/tests/resizetest.cc b/plugingui/tests/resizetest.cc index 2267030..f5ba01b 100644 --- a/plugingui/tests/resizetest.cc +++ b/plugingui/tests/resizetest.cc @@ -135,7 +135,7 @@ int main() while(test_window.processEvents()) { -#ifdef WIN32 +#if DG_PLATFORM == DG_PLATFORM_WINDOWS SleepEx(50, FALSE); #else usleep(50000); 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); |