diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-22 19:59:10 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-22 20:01:56 +0200 |
commit | c832aae70e55f5f97f5f9093735f493cd29cd9b9 (patch) | |
tree | 2be58f58f2f2fd4a277ceaa15b48d98de74d27d0 /onlineupdate/workben | |
parent | ca089c7e204a6dec7fc3ee2c83fc0aefbafaecfa (diff) |
updater: get the updater GUI working on Linux
Change-Id: I3e7edb5319ab2e2ec316204b917a7e29c1791b5b
Diffstat (limited to 'onlineupdate/workben')
-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); |