diff options
author | Peter Johnson <peter@tortall.net> | 2008-10-19 07:29:15 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2008-10-19 07:29:15 +0000 |
commit | 7b901e3596309180400de5e5c30421abf3a3af55 (patch) | |
tree | 3d05c31d94e393af2119736174523ed8bfb76152 | |
parent | 2bcaa278be7762c0bc49255e6750de0c3446eb7d (diff) | |
download | yasm-7b901e3596309180400de5e5c30421abf3a3af55.tar.gz |
Fix #157: Use UNIX (not Windows) path functions on cygwin platform.
svn path=/trunk/yasm/; revision=2157
-rw-r--r-- | libyasm/file.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libyasm/file.h b/libyasm/file.h index e16491b7..a1de0339 100644 --- a/libyasm/file.h +++ b/libyasm/file.h @@ -117,8 +117,7 @@ size_t yasm__splitpath_win(const char *path, /*@out@*/ const char **tail); */ #ifndef yasm__splitpath # if defined (_WIN32) || defined (WIN32) || defined (__MSDOS__) || \ - defined (__DJGPP__) || defined (__OS2__) || defined (__CYGWIN__) || \ - defined (__CYGWIN32__) + defined (__DJGPP__) || defined (__OS2__) # define yasm__splitpath(path, tail) yasm__splitpath_win(path, tail) # else # define yasm__splitpath(path, tail) yasm__splitpath_unix(path, tail) @@ -173,8 +172,7 @@ char *yasm__combpath_win(const char *from, const char *to); */ #ifndef yasm__combpath # if defined (_WIN32) || defined (WIN32) || defined (__MSDOS__) || \ - defined (__DJGPP__) || defined (__OS2__) || defined (__CYGWIN__) || \ - defined (__CYGWIN32__) + defined (__DJGPP__) || defined (__OS2__) # define yasm__combpath(from, to) yasm__combpath_win(from, to) # else # define yasm__combpath(from, to) yasm__combpath_unix(from, to) |