added missing CAP_COMMANDLINE guards

This commit is contained in:
Zeno Rogue 2019-06-28 09:54:10 +02:00
parent b260cbb91f
commit 07058956ba
2 changed files with 4 additions and 0 deletions

View File

@ -1102,6 +1102,7 @@ namespace euclid3 {
}
}
#if CAP_COMMANDLINE
int euArgs() {
using namespace arg;
@ -1151,6 +1152,7 @@ namespace euclid3 {
}
auto euhook = addHook(hooks_args, 100, euArgs);
#endif
}
#endif

View File

@ -265,6 +265,7 @@ namespace dual {
state = 0;
}
#if CAP_COMMANDLINE
int args() {
using namespace arg;
@ -288,6 +289,7 @@ namespace dual {
}
auto hook = addHook(hooks_args, 100, args);
#endif
vector<int> landsides;