aboutsummaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/share.h b/lib/share.h
index 7f55aac85..632d9198f 100644
--- a/lib/share.h
+++ b/lib/share.h
@@ -31,14 +31,6 @@
#include "urldata.h"
#include "conncache.h"
-/* SalfordC says "A structure member may not be volatile". Hence:
- */
-#ifdef __SALFORDC__
-#define CURL_VOLATILE
-#else
-#define CURL_VOLATILE volatile
-#endif
-
#define CURL_GOOD_SHARE 0x7e117a1e
#define GOOD_SHARE_HANDLE(x) ((x) && (x)->magic == CURL_GOOD_SHARE)
@@ -46,7 +38,7 @@
struct Curl_share {
unsigned int magic; /* CURL_GOOD_SHARE */
unsigned int specifier;
- CURL_VOLATILE unsigned int dirty;
+ volatile unsigned int dirty;
curl_lock_function lockfunc;
curl_unlock_function unlockfunc;