From: Viktor Szakats Date: Wed, 1 Jan 2025 02:33:26 +0000 (+0100) Subject: lib: remove `__EMX__` guards X-Git-Tag: curl-8_12_0~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07a084f539aeedde8d8fe97ec3cef4a717fb869f;p=thirdparty%2Fcurl.git lib: remove `__EMX__` guards Follow-up to 179ee78e8672ec44c50aa36279c48b28e008ea29 #2166 Closes #15884 --- diff --git a/lib/file.c b/lib/file.c index f8535d9449..b00c61a27b 100644 --- a/lib/file.c +++ b/lib/file.c @@ -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 diff --git a/lib/fopen.c b/lib/fopen.c index 7373e08831..90dc0ae4d7 100644 --- a/lib/fopen.c +++ b/lib/fopen.c @@ -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 diff --git a/lib/urldata.h b/lib/urldata.h index fc09efad61..cabd1eda47 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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