Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and

HAVE_PROCESS_H added for all except scc.
This commit is contained in:
Gisle Vanem
2006-04-26 17:11:05 +00:00
parent c14a84e6f2
commit 414c57d138
4 changed files with 39 additions and 4 deletions

View File

@@ -173,6 +173,17 @@ typedef unsigned char bool;
#endif
#endif
/*
* Salford-C cludge section (mostly borrowed from wxWidgets).
*/
#ifdef __SALFORDC__
#pragma suppress 353 /* Possible nested comments */
#pragma suppress 593 /* Define not used */
#pragma suppress 61 /* enum has no name */
#pragma suppress 106 /* unnamed, unused parameter */
#include <clib.h>
#endif
#if defined(CURLDEBUG) && defined(HAVE_ASSERT_H)
#define curlassert(x) assert(x)
#else