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

@@ -28,10 +28,18 @@
#include <curl/curl.h>
#include "cookie.h"
/* SalfordC says "A structure member may not be volatile". Hence:
*/
#ifdef __SALFORDC__
#define CURL_VOLATILE
#else
#define CURL_VOLATILE volatile
#endif
/* this struct is libcurl-private, don't export details */
struct Curl_share {
unsigned int specifier;
volatile unsigned int dirty;
CURL_VOLATILE unsigned int dirty;
curl_lock_function lockfunc;
curl_unlock_function unlockfunc;