diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-04-26 17:11:05 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-04-26 17:11:05 +0000 |
commit | 414c57d138b9fe21eeecde730d9369eaedbdbc89 (patch) | |
tree | 7e800fe502ebf2154c29f03bceb141fa0b39bc5b /lib/config-win32.h | |
parent | c14a84e6f29efe248e59b6910924a35bcbc74384 (diff) | |
download | curl-414c57d138b9fe21eeecde730d9369eaedbdbc89.tar.gz |
Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and
HAVE_PROCESS_H added for all except scc.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 9b3d531d7..600d28c8b 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -37,7 +37,9 @@ #define HAVE_IO_H 1 /* Define if you have the <malloc.h> header file. */ +#ifndef __SALFORDC__ #define HAVE_MALLOC_H 1 +#endif /* Define if you have the <netdb.h> header file. */ /* #define HAVE_NETDB_H 1 */ @@ -45,6 +47,11 @@ /* Define if you have the <netinet/in.h> header file. */ /* #define HAVE_NETINET_IN_H 1 */ +/* Define if you have the <process.h> header file. */ +#ifndef __SALFORDC__ +#define HAVE_PROCESS_H 1 +#endif + /* Define if you have the <sgtty.h> header file. */ /* #define HAVE_SGTTY_H 1 */ @@ -98,11 +105,13 @@ /* Define if you have the <winsock.h> header file. */ #define HAVE_WINSOCK_H 1 +#ifndef __SALFORDC__ /* Define if you have the <winsock2.h> header file. */ #define HAVE_WINSOCK2_H 1 /* Define if you have the <ws2tcpip.h> header file. */ #define HAVE_WS2TCPIP_H 1 +#endif /* ---------------------------------------------------------------- */ /* OTHER HEADER INFO */ @@ -246,8 +255,10 @@ #endif /* Define SIZEOF_CURL_OFF_T as computed by sizeof(curl_off_t) */ -/* Borland/PellesC lacks _lseeki64(), so we don't support >2GB files. */ -#if defined(__BORLANDC__) || defined(__POCC__) +/* Borland/PellesC/SalfordC lacks _lseeki64(), so we don't support + * >2GB files. + */ +#if defined(__BORLANDC__) || defined(__POCC__) || defined(__SALFORDC__) #define SIZEOF_CURL_OFF_T 4 #else #define SIZEOF_CURL_OFF_T 8 @@ -258,7 +269,9 @@ /* ---------------------------------------------------------------- */ /* Define this if you have struct sockaddr_storage */ +#ifndef __SALFORDC__ #define HAVE_STRUCT_SOCKADDR_STORAGE 1 +#endif /* ---------------------------------------------------------------- */ /* COMPILER SPECIFIC */ |