]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: remove `__EMX__` guards
authorViktor Szakats <commit@vsz.me>
Wed, 1 Jan 2025 02:33:26 +0000 (03:33 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 1 Jan 2025 11:44:20 +0000 (12:44 +0100)
Follow-up to 179ee78e8672ec44c50aa36279c48b28e008ea29 #2166
Closes #15884

lib/file.c
lib/fopen.c
lib/urldata.h

index f8535d9449ef578cbef639d6944b4382a0609d9a..b00c61a27be60edf16bb39f034498a8e5a4b252c 100644 (file)
@@ -78,7 +78,7 @@
 #include "curl_memory.h"
 #include "memdebug.h"
 
-#if defined(_WIN32) || defined(MSDOS) || defined(__EMX__)
+#if defined(_WIN32) || defined(MSDOS)
 #define DOS_FILESYSTEM 1
 #elif defined(__amigaos4__)
 #define AMIGA_FILESYSTEM 1
index 7373e08831dd5ce6bd08a8cafdea06c4edd61a43..90dc0ae4d7334b31ac87dacaa6d40aeb05bae431 100644 (file)
@@ -53,7 +53,7 @@
 #ifdef _WIN32
 #define PATHSEP "\\"
 #define IS_SEP(x) (((x) == '/') || ((x) == '\\'))
-#elif defined(MSDOS) || defined(__EMX__) || defined(OS2)
+#elif defined(MSDOS) || defined(OS2)
 #define PATHSEP "\\"
 #define IS_SEP(x) ((x) == '\\')
 #else
index fc09efad61035f659cf6992a5432ef0d28e038cc..cabd1eda47e0146529f59a4f817544360769500f 100644 (file)
@@ -105,7 +105,7 @@ typedef unsigned int curl_prot_t;
 #define CURL_DEFAULT_USER "anonymous"
 #define CURL_DEFAULT_PASSWORD "ftp@example.com"
 
-#if !defined(_WIN32) && !defined(MSDOS) && !defined(__EMX__)
+#if !defined(_WIN32) && !defined(MSDOS)
 /* do FTP line-end CRLF => LF conversions on platforms that prefer LF-only. It
    also means: keep CRLF line endings on the CRLF platforms */
 #define CURL_PREFER_LF_LINEENDS