added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE

This commit is contained in:
Zeno Rogue
2021-06-01 13:07:55 +02:00
parent 83070fe50c
commit 334bf12292
4 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -428,9 +428,9 @@ EX }
#if !CAP_COMMANDLINE
EX namespace arg {
EX int add1(const string& s, const reaction_t& r) { }
EX int add2(const string& s, const reaction_t& r) { }
EX int add3(const string& s, const reaction_t& r) { }
EX int add1(const string& s, const reaction_t& r) { return 0; }
EX int add2(const string& s, const reaction_t& r) { return 0; }
EX int add3(const string& s, const reaction_t& r) { return 0; }
EX }
#endif
}