X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fstring.h;h=4b44e6eddc60aea02d52583266b34da220c15fe1;hb=aaf07fb6d380f4e4f0b5404d6b006afcfe62aa7f;hp=ef567874248a8b47c408648818f8f7398e99f888;hpb=ba24508f51eed2af4f0192589801db2f945eac7b;p=m6w6%2Flibmemcached diff --git a/libmemcached/string.h b/libmemcached/string.h index ef567874..4b44e6ed 100644 --- a/libmemcached/string.h +++ b/libmemcached/string.h @@ -9,6 +9,7 @@ * */ +#pragma once #ifndef __LIBMEMCACHED_STRING_H__ #define __LIBMEMCACHED_STRING_H__ @@ -28,8 +29,8 @@ struct memcached_string_st { size_t current_size; const memcached_st *root; struct { - bool is_allocated MEMCACHED_BITFIELD; - bool is_initialized MEMCACHED_BITFIELD; + bool is_allocated:1; + bool is_initialized:1; } options; };