mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: #undef GUI_APP_MAIN_HOOK to avoid warning
git-svn-id: svn://ultimatepp.org/upp/trunk@12180 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7d43aac9af
commit
00e99f14ef
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ void StartEditorMode(const Vector<String>& 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()); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue