libbluray | branch: master | hpi1 <[email protected]> | Tue Apr 1 11:51:49 2014 +0300| [1ea0a932eed83fe812324d8a14d1e8a9135d4ffe] | committer: hpi1
add directory separators to file.h > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=1ea0a932eed83fe812324d8a14d1e8a9135d4ffe --- src/file/file.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/file/file.h b/src/file/file.h index 95c538d..bf267d0 100644 --- a/src/file/file.h +++ b/src/file/file.h @@ -27,9 +27,13 @@ #include <stdint.h> -//#ifdef __LINUX__ -#define DIR_SEP "/" -//#endif +#ifdef _WIN32 +# define DIR_SEP "\\" +# define DIR_SEP_CHAR '\\' +#else +# define DIR_SEP "/" +# define DIR_SEP_CHAR '/' +#endif /* * file access _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
