Fix for non-Linux platforms.
[m6w6/libmemcached] / libmemcached / server.h
index 141d71d21c04184429619fd160581434ac654fb8..5174752822c63ee8327eebbb2fbd461c69fd21da 100644 (file)
 
 struct memcached_server_st {
   struct {
-    bool is_allocated:1;
-    bool is_initialized:1;
-    bool sockaddr_inited:1;
+    bool is_allocated MEMCACHED_BITFIELD;
+    bool is_initialized MEMCACHED_BITFIELD;
+    bool sockaddr_inited MEMCACHED_BITFIELD;
+    bool is_shutting_down MEMCACHED_BITFIELD;
   } options;
   uint32_t number_of_hosts;
   uint32_t cursor_active;