Mercurial > hg > octave-nkf
diff liboctave/file-ops.h @ 4101:ea537559ab07
[project @ 2002-10-11 20:57:21 by jwe]
author | jwe |
---|---|
date | Fri, 11 Oct 2002 20:57:21 +0000 |
parents | 3add04256a60 |
children | 5fa9670b5956 |
line wrap: on
line diff
--- a/liboctave/file-ops.h +++ b/liboctave/file-ops.h @@ -78,16 +78,12 @@ static int unlink (const std::string&, std::string&); static bool is_dir_sep (char); + + static char dir_sep_char; + static std::string dir_sep_str; + static std::string dir_sep_chars; }; -#define OCTAVE_DIR_SEP_CHAR '/' -#define OCTAVE_DIR_SEP_STR "/" -#if defined (__WIN32__) || defined (__CYGWIN__) -#define OCTAVE_DIR_SEP_CHARS "/\\" -#else -#define OCTAVE_DIR_SEP_CHARS OCTAVE_DIR_SEP_STR -#endif - #endif /*