Added support for Watcom/DOS.

This commit is contained in:
Gisle Vanem 2006-08-29 18:40:36 +00:00
parent 1f7f500922
commit 6de9732a88
1 changed files with 7 additions and 1 deletions

View File

@ -9,6 +9,8 @@
#define OS "MSDOS/djgpp"
#elif defined(__HIGHC__)
#define OS "MSDOS/HighC"
#elif defined(__WATCOMC__)
#define OS "MSDOS/Watcom"
#else
#define OS "MSDOS/?"
#endif
@ -106,7 +108,7 @@
#define ssize_t int
#endif
/* Djgpp only section
/* Target HAVE_x section
*/
#if defined(DJGPP)
#define CURL_CA_BUNDLE "/dev/env/CURL_CA_BUNDLE"
@ -127,6 +129,10 @@
#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
#endif
#if defined(__WATCOMC__)
#define HAVE_STRCASECMP 1
#endif
#include <stdlib.h>
#include <string.h>
#include <tcp.h> /* Watt-32 API */