X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fcommon.h;h=c7b84c94760d66ba97bb86cc833234abfc64e84e;hb=f7df8c8dce075748af9b3d468fda914c92253884;hp=cc71ac5f8123813588832780b5e0b6052bd8d761;hpb=b3d84c787cbfa72cc7feca84f60fe476f18c737b;p=awesomized%2Flibmemcached diff --git a/libmemcached/common.h b/libmemcached/common.h index cc71ac5f..c7b84c94 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -107,9 +107,14 @@ # include #endif +#if defined(WIN32) || defined(__MINGW32__) +# include "libmemcached/windows.hpp" +#endif + #include #include #include +typedef struct memcached_st Memcached; #ifdef __cplusplus # include "libmemcached/instance.hpp" @@ -119,15 +124,7 @@ #ifdef HAVE_POLL_H # include #else -# include "poll/poll.h" -#endif - -#ifndef POLLHUP -# define POLLHUP 0x0010 -#endif - -#ifndef POLLNVAL -# define POLLNVAL 0x0020 +# include "libmemcached/poll.h" #endif #ifdef __cplusplus