[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] libtool: Cygwin does not use DOS based filesystem
From: |
JonY |
Subject: |
[PATCH] libtool: Cygwin does not use DOS based filesystem |
Date: |
Fri, 17 Apr 2020 00:19:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
Even though it runs on Windows, Cygwin uses UNIX paths.
The _WIN32 macro may still be defined when using Win32 APIs
however.
Signed-off-by: Jonathan Yong <address@hidden>
---
build-aux/ltmain.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 96b37003..3bb3043e 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -3711,8 +3711,8 @@ int setenv (const char *, const char *, int);
# define PATH_SEPARATOR ':'
#endif
-#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
- defined __OS2__
+#if (defined _WIN32 && ! defined __CYGWIN__) || defined __MSDOS__ || \
+ defined __DJGPP__ || defined __OS2__
# define HAVE_DOS_BASED_FILE_SYSTEM
# define FOPEN_WB "wb"
# ifndef DIR_SEPARATOR_2
--
2.26.1
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] libtool: Cygwin does not use DOS based filesystem,
JonY <=