diff --git a/uppsrc/ide/main.cpp b/uppsrc/ide/main.cpp index 2dbc3cbe2..b61de3ca8 100644 --- a/uppsrc/ide/main.cpp +++ b/uppsrc/ide/main.cpp @@ -108,8 +108,8 @@ void StartEditorMode(const Vector& args, Ide& ide, bool& clset) // TODO: I do not like that we need to define macro here. // I opt for std::function version. We need to fix that API // in 2018.2 release. #1901 -// -// This method generates warning GUI_APP_MAIN_HOOCK redefined!!! + +#undef GUI_APP_MAIN_HOOK #define GUI_APP_MAIN_HOOK \ { \ BaseCommandLineHandler cmd_handler(CommandLine()); \