1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 11:37:55 +00:00

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

This commit is contained in:
Zeno Rogue
2021-05-29 12:15:50 +02:00
parent 83070fe50c
commit 334bf12292
4 changed files with 9 additions and 5 deletions

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
}