aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-06-02 14:04:00 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-06-02 14:04:00 -0400
commit59432503c0501f8d1522370704c3d5269d221f5a (patch)
tree12db0853462ae2e6d0670be8e939bb68597d592e /lib/curl_setup.h
parentf6af9aef7eef75fd3e669715f4fee7a922c8a052 (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.h2
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__)