~mordred/libmemcached/merge-vs-work

« back to all changes in this revision

Viewing changes to libhashkit/hashkit.c

  • Committer: Monty Taylor
  • Date: 2011-02-13 18:47:03 UTC
  • Revision ID: mordred@inaugust.com-20110213184703-usxdc2h4do3bnxhx
Build for Visual Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#include "common.h"
10
10
 
11
11
static const hashkit_st global_default_hash= {
 
12
#if defined(WIN32) && defined(__cplusplus)
 
13
  { hashkit_one_at_a_time, NULL }, { NULL, NULL}, { false }, { false }
 
14
#else
12
15
  .base_hash= {
13
16
    .function= hashkit_one_at_a_time,
14
17
    .context= NULL
16
19
  .flags= {
17
20
    .is_base_same_distributed= false,
18
21
  }
 
22
#endif
19
23
};
20
24
 
21
25
static inline bool _hashkit_init(hashkit_st *self)