diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-06-02 14:04:00 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-06-02 14:04:00 -0400 |
commit | 59432503c0501f8d1522370704c3d5269d221f5a (patch) | |
tree | 12db0853462ae2e6d0670be8e939bb68597d592e /lib/curl_setup.h | |
parent | f6af9aef7eef75fd3e669715f4fee7a922c8a052 (diff) |
curl_setup: Change fopen text macros to use 't' for MSDOS
Bug: https://github.com/bagder/curl/pull/258#issuecomment-107915198
Reported-by: Gisle Vanem
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r-- | lib/curl_setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index cbec34f26..ab0c13940 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -710,7 +710,7 @@ int netware_init(void); /* In Windows the default file mode is text but an application can override it. Therefore we specify it explicitly. https://github.com/bagder/curl/pull/258 */ -#if defined(WIN32) +#if defined(WIN32) || defined(MSDOS) #define FOPEN_READTEXT "rt" #define FOPEN_WRITETEXT "wt" #elif defined(__CYGWIN__) |