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/share.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/share.h')
-rw-r--r-- | lib/share.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/share.h b/lib/share.h index 5f02f1aed..5cfe8c792 100644 --- a/lib/share.h +++ b/lib/share.h @@ -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; |