Use macros instead literal constants
This commit is contained in:
parent
78ce858b38
commit
f2e95150d0
@ -115,7 +115,7 @@
|
||||
#define GOLD_SHELL_ENV "SHELL"
|
||||
#endif
|
||||
|
||||
inline bool isslash(char c) { return (c == '\\') or (c == '/'); }
|
||||
inline bool isslash(char c) { return (c == GOLD_SLASH_CHR) or (c == GOLD_WRONG_SLASH_CHR); }
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user