diff options
| author | George Hazan <george.hazan@gmail.com> | 2013-11-10 21:43:18 +0000 | 
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2013-11-10 21:43:18 +0000 | 
| commit | 530102b3b16fdc6f008cdf312e5977a878f295db (patch) | |
| tree | 3159eb3d5712151a33d796b7a0039ae9a4d00e09 /plugins/FTPFileYM/curl/lib/curl_setup.h | |
| parent | e40ecc70a7db28bdf78dad5d804e07d08a77159c (diff) | |
libcurl update
git-svn-id: http://svn.miranda-ng.org/main/trunk@6864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/curl/lib/curl_setup.h')
| -rw-r--r-- | plugins/FTPFileYM/curl/lib/curl_setup.h | 14 | 
1 files changed, 12 insertions, 2 deletions
diff --git a/plugins/FTPFileYM/curl/lib/curl_setup.h b/plugins/FTPFileYM/curl/lib/curl_setup.h index ad83fec5fa..7edeca2123 100644 --- a/plugins/FTPFileYM/curl/lib/curl_setup.h +++ b/plugins/FTPFileYM/curl/lib/curl_setup.h @@ -7,7 +7,7 @@   *                            | (__| |_| |  _ <| |___   *                             \___|\___/|_| \_\_____|   * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.   *   * This software is licensed as described in the file COPYING, which   * you should have received as part of this distribution. The terms @@ -270,6 +270,9 @@  #    endif  #  endif  #  include <tchar.h> +#  ifdef UNICODE +     typedef wchar_t *(*curl_wcsdup_callback)(const wchar_t *str); +#  endif  #endif  /* @@ -368,7 +371,9 @@  #  include <sys/stat.h>  #  undef  lseek  #  define lseek(fdes,offset,whence)  _lseeki64(fdes, offset, whence) +#  undef  fstat  #  define fstat(fdes,stp)            _fstati64(fdes, stp) +#  undef  stat  #  define stat(fname,stp)            _stati64(fname, stp)  #  define struct_stat                struct _stati64  #  define LSEEK_ERROR                (__int64)-1 @@ -615,7 +620,7 @@ int netware_init(void);  #if defined(USE_GNUTLS) || defined(USE_SSLEAY) || defined(USE_NSS) || \      defined(USE_QSOSSL) || defined(USE_POLARSSL) || defined(USE_AXTLS) || \      defined(USE_CYASSL) || defined(USE_SCHANNEL) || \ -    defined(USE_DARWINSSL) +    defined(USE_DARWINSSL) || defined(USE_GSKIT)  #define USE_SSL    /* SSL support has been enabled */  #endif @@ -694,4 +699,9 @@ int netware_init(void);  #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)  #endif +/* Define S_ISDIR if not defined by system headers, f.e. MSVC */ +#if !defined(S_ISDIR) && defined(S_IFMT) && defined(S_IFDIR) +#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) +#endif +  #endif /* HEADER_CURL_SETUP_H */  | 
