Use macros instead literal constants

This commit is contained in:
Stas Degteff 2007-01-02 12:21:13 +00:00
parent 78ce858b38
commit f2e95150d0

View File

@ -115,7 +115,7 @@
#define GOLD_SHELL_ENV "SHELL" #define GOLD_SHELL_ENV "SHELL"
#endif #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); }
// ------------------------------------------------------------------ // ------------------------------------------------------------------