diff options
Diffstat (limited to 'variant/default/main.cpp')
-rw-r--r-- | variant/default/main.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/variant/default/main.cpp b/variant/default/main.cpp deleted file mode 100644 index 2c1dc607..00000000 --- a/variant/default/main.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "gui/init.hpp" -#include "main-window.hpp" - -#if defined _WIN32 -# include <windows.h> -#endif - -#ifdef __clang__ -# pragma GCC diagnostic ignored "-Wmain" -#endif - -int main(int argc, char** argv) -{ - return run_application(argc, argv, [] { return std::make_unique<main_window>(); }); -} - -#if defined _MSC_VER - -int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int /* nCmdShow */) -{ - return main(__argc, __argv); -} -#endif |