Mercurial > hg > octave-lyh
diff liboctave/file-ops.h @ 4097:596f88296519
[project @ 2002-10-09 20:26:27 by jwe]
author | jwe |
---|---|
date | Wed, 09 Oct 2002 20:26:27 +0000 |
parents | 9a77deefb8c9 |
children | 3add04256a60 |
line wrap: on
line diff
--- a/liboctave/file-ops.h +++ b/liboctave/file-ops.h @@ -76,8 +76,18 @@ static int unlink (const std::string&); static int unlink (const std::string&, std::string&); + + static bool is_dir_sep (char); }; +#define OCTAVE_DIR_SEP_CHAR '/' +#define OCTAVE_DIR_SEP_STR "/" +#if defined (__WIN32__) +#define OCTAVE_DIR_SEP_CHARS "/\\" +#else +#define OCTAVE_DIR_SEP_CHARS OCTAVE_DIR_SEP_STR +#endif + #endif /*