DOS adjustments

This commit is contained in:
Yang Tse 2009-06-11 16:43:47 +00:00
parent 6173ce6463
commit 2c93f889fd
2 changed files with 16 additions and 15 deletions

View File

@ -1,10 +1,12 @@
#ifndef _CURL_CONFIG_DOS_H
#define _CURL_CONFIG_DOS_H
#ifndef HEADER_CONFIG_DOS_H
#define HEADER_CONFIG_DOS_H
/* $Id$ */
/* ================================================================ */
/* lib/config.dos - Hand crafted config file for DOS */
/* ================================================================ */
/* lib/config.dos - Hand crafted config file for MSDOS.
*
* $Id$
*/
#if defined(DJGPP)
#define OS "MSDOS/djgpp"
#elif defined(__HIGHC__)
@ -101,12 +103,14 @@
/* #define MALLOCDEBUG */
#ifdef USE_ZLIB /* on cmd-line */
/* USE_ZLIB on cmd-line */
#ifdef USE_ZLIB
#define HAVE_ZLIB_H 1
#define HAVE_LIBZ 1
#endif
#ifdef USE_SSLEAY /* on cmd-line */
/* USE_SSLEAY on cmd-line */
#ifdef USE_SSLEAY
#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
#define HAVE_OPENSSL_ENGINE_H 1
#define OPENSSL_NO_KRB5 1
@ -119,14 +123,14 @@
#define in_addr_t u_long
#if defined(__HIGHC__) || \
(defined(__GNUC__) && __GNUC__ < 4) /* gcc 4.x built-in ? */
(defined(__GNUC__) && (__GNUC__ < 4))
#define ssize_t int
#endif
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
/* Target HAVE_x section
*/
/* Target HAVE_x section */
#if defined(DJGPP)
#define HAVE_BASENAME 1
#define HAVE_STRCASECMP 1
@ -154,5 +158,5 @@
#undef word
#undef byte
#endif /* _CURL_CONFIG_DOS_H */
#endif /* HEADER_CONFIG_DOS_H */

View File

@ -164,9 +164,6 @@ int fileno( FILE *stream);
#ifdef word
#undef word
#endif
#ifndef HAVE_LIMITS_H
#define HAVE_LIMITS_H /* we have limits.h */
#endif
#define DIR_CHAR "/"
#define DOT_CHAR "_"
#else