From 59432503c0501f8d1522370704c3d5269d221f5a Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Tue, 2 Jun 2015 14:04:00 -0400 Subject: 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 --- lib/curl_setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/curl_setup.h') 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__) -- cgit v1.2.3