diff options
Diffstat (limited to 'onlineupdate/workben/test_dialog.cxx')
-rw-r--r-- | onlineupdate/workben/test_dialog.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/onlineupdate/workben/test_dialog.cxx b/onlineupdate/workben/test_dialog.cxx index 113ec07eebbd..ba9f258df913 100644 --- a/onlineupdate/workben/test_dialog.cxx +++ b/onlineupdate/workben/test_dialog.cxx @@ -1,5 +1,10 @@ #include "progressui.h" + +#if defined(_WIN32) #include "progressui_win.cxx" +#else +#include "progressui_gtk.cxx" +#endif #include <thread> #include <chrono> @@ -15,7 +20,7 @@ void func() QuitProgressUI(); } -int wmain(int argc, wchar_t** argv) +int NS_main(int argc, NS_tchar** argv) { InitProgressUI(&argc, &argv); std::thread a(func); |