X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached-1.0%2Fplatform.h;h=01ce276c876634daaf7ae015de5c7404c5e48eaf;hb=e23d774aaee5cf66ff4dc563f5b0a2cad293dd82;hp=19248283f5d14d1ca0bae4010f67d64c4f31b50b;hpb=fee8381b6b80398fcb6893860400ead6a598f15b;p=awesomized%2Flibmemcached diff --git a/libmemcached-1.0/platform.h b/libmemcached-1.0/platform.h index 19248283..01ce276c 100644 --- a/libmemcached-1.0/platform.h +++ b/libmemcached-1.0/platform.h @@ -2,8 +2,8 @@ * * Libmemcached library * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ - * Copyright (C) 2006-2009 Brian Aker, Trond Norbye All rights reserved. + * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -38,19 +38,21 @@ #pragma once -#ifdef WIN32 +#if defined(WIN32) || defined(__MINGW32__) +# include +# include -#include -#include typedef short in_port_t; typedef SOCKET memcached_socket_t; + #else +# include +# include +# include +# include +# include +# include + typedef int memcached_socket_t; -#include -#include -#include -#include -#include -#include #endif /* WIN32 */