parent
70b49a4e4c
commit
07a084f539
@ -78,7 +78,7 @@
|
|||||||
#include "curl_memory.h"
|
#include "curl_memory.h"
|
||||||
#include "memdebug.h"
|
#include "memdebug.h"
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(MSDOS) || defined(__EMX__)
|
#if defined(_WIN32) || defined(MSDOS)
|
||||||
#define DOS_FILESYSTEM 1
|
#define DOS_FILESYSTEM 1
|
||||||
#elif defined(__amigaos4__)
|
#elif defined(__amigaos4__)
|
||||||
#define AMIGA_FILESYSTEM 1
|
#define AMIGA_FILESYSTEM 1
|
||||||
|
|||||||
@ -53,7 +53,7 @@
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define PATHSEP "\\"
|
#define PATHSEP "\\"
|
||||||
#define IS_SEP(x) (((x) == '/') || ((x) == '\\'))
|
#define IS_SEP(x) (((x) == '/') || ((x) == '\\'))
|
||||||
#elif defined(MSDOS) || defined(__EMX__) || defined(OS2)
|
#elif defined(MSDOS) || defined(OS2)
|
||||||
#define PATHSEP "\\"
|
#define PATHSEP "\\"
|
||||||
#define IS_SEP(x) ((x) == '\\')
|
#define IS_SEP(x) ((x) == '\\')
|
||||||
#else
|
#else
|
||||||
|
|||||||
@ -105,7 +105,7 @@ typedef unsigned int curl_prot_t;
|
|||||||
#define CURL_DEFAULT_USER "anonymous"
|
#define CURL_DEFAULT_USER "anonymous"
|
||||||
#define CURL_DEFAULT_PASSWORD "ftp@example.com"
|
#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
|
/* do FTP line-end CRLF => LF conversions on platforms that prefer LF-only. It
|
||||||
also means: keep CRLF line endings on the CRLF platforms */
|
also means: keep CRLF line endings on the CRLF platforms */
|
||||||
#define CURL_PREFER_LF_LINEENDS
|
#define CURL_PREFER_LF_LINEENDS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user