diff options
author | Bin Cui <bin.cui@gmail.com> | 2011-07-13 15:10:20 -0700 |
---|---|---|
committer | Trond Norbye <trond.norbye@gmail.com> | 2011-07-14 10:27:50 +0200 |
commit | 8a38629379830218553d3912e303c92120d01155 (patch) | |
tree | a13f3fe4023084ab67999c94cc8216426a239b8a | |
parent | 27f2c6714cf016aa5cb91559fcce90fdef14364a (diff) | |
download | memcached-8a38629379830218553d3912e303c92120d01155.tar.gz |
Fix compiling errors on windows platform
It looks like symbol 'interface' is predefined somewhere and makes
compiler confused.
-rw-r--r-- | include/memcached/engine_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/memcached/engine_common.h b/include/memcached/engine_common.h index dea0e9f..8301b1d 100644 --- a/include/memcached/engine_common.h +++ b/include/memcached/engine_common.h @@ -8,6 +8,9 @@ extern "C" { #endif +#ifdef __WIN32__ +#undef interface +#endif typedef struct engine_interface { uint64_t interface; /**< The version number on the engine structure */ } ENGINE_HANDLE; |