summaryrefslogtreecommitdiff
path: root/libhashkit
diff options
context:
space:
mode:
authorBrian Aker <brian@gaz>2010-04-01 11:06:13 -0700
committerBrian Aker <brian@gaz>2010-04-01 11:06:13 -0700
commit5f65f6be53b3e3d92969b1dd414e0c6473bdf1ec (patch)
tree3e8c9f4a9b718667d2fe179bd3db3c6270b06b66 /libhashkit
parentf9b2d2781b96614fbda754a3dbf29097c2bfe101 (diff)
downloadlibmemcached-5f65f6be53b3e3d92969b1dd414e0c6473bdf1ec.tar.gz
Remove bitfield hack (solaris blows anyways).
Diffstat (limited to 'libhashkit')
-rw-r--r--libhashkit/configure.h.in2
-rw-r--r--libhashkit/hashkit.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/libhashkit/configure.h.in b/libhashkit/configure.h.in
index 6fa78177..29d05aea 100644
--- a/libhashkit/configure.h.in
+++ b/libhashkit/configure.h.in
@@ -12,8 +12,6 @@
extern "C" {
#endif
-@HASHKIT_BITFIELD@
-
#ifdef __cplusplus
}
#endif
diff --git a/libhashkit/hashkit.h b/libhashkit/hashkit.h
index e3d5862e..45133307 100644
--- a/libhashkit/hashkit.h
+++ b/libhashkit/hashkit.h
@@ -58,11 +58,11 @@ struct hashkit_st
} base_hash, distribution_hash;
struct {
- bool is_base_same_distributed HASHKIT_BITFIELD;
+ bool is_base_same_distributed:1;
} flags;
struct {
- bool is_allocated HASHKIT_BITFIELD;
+ bool is_allocated:1;
} options;
};