{"action":"opened","issue":{"url":"https://api.github.com/repos/MSOpenTech/redis/issues/333","labels_url":"https://api.github.com/repos/MSOpenTech/redis/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/MSOpenTech/redis/issues/333/comments","events_url":"https://api.github.com/repos/MSOpenTech/redis/issues/333/events","html_url":"https://github.com/MSOpenTech/redis/issues/333","id":110040252,"number":333,"title":"3.0.300-alpha3   hiredis : 'redefinition' errors in Win32_FDAPI.h","user":{"login":"uwaw12","id":14971979,"avatar_url":"https://avatars.githubusercontent.com/u/14971979?v=3","gravatar_id":"","url":"https://api.github.com/users/uwaw12","html_url":"https://github.com/uwaw12","followers_url":"https://api.github.com/users/uwaw12/followers","following_url":"https://api.github.com/users/uwaw12/following{/other_user}","gists_url":"https://api.github.com/users/uwaw12/gists{/gist_id}","starred_url":"https://api.github.com/users/uwaw12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwaw12/subscriptions","organizations_url":"https://api.github.com/users/uwaw12/orgs","repos_url":"https://api.github.com/users/uwaw12/repos","events_url":"https://api.github.com/users/uwaw12/events{/privacy}","received_events_url":"https://api.github.com/users/uwaw12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-06T15:50:46Z","updated_at":"2015-10-06T15:50:46Z","closed_at":null,"body":"\r\n\r\nerror\t1\terror C2371: “off_t”: redefinition；\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_types.h\t37\t1\tdb_redis\r\nerror\t2\terror C4005: “INCL_WINSOCK_API_PROTOTYPES”: 宏redefinition\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t35\t1\tdb_redis\r\nerror\t3\terror C2365: “accept”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t156\t1\tdb_redis\r\nerror\t4\terror C2365: “access”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t157\t1\tdb_redis\r\nerror\t5\terror C2365: “bind”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t158\t1\tdb_redis\r\nerror\t6\terror C2365: “connect”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t159\t1\tdb_redis\r\nerror\t7\terror C2365: “getsockopt”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t166\t1\tdb_redis\r\nerror\t8\terror C2365: “getpeername”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t167\t1\tdb_redis\r\nerror\t9\terror C2365: “getsockname”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t168\t1\tdb_redis\r\nerror\t10\terror C2365: “htonl”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t169\t1\tdb_redis\r\nerror\t11\terror C2365: “htons”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t170\t1\tdb_redis\r\nerror\t12\terror C2365: “isatty”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t171\t1\tdb_redis\r\nerror\t13\terror C2365: “listen”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t174\t1\tdb_redis\r\nerror\t14\terror C2365: “ntohl”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t176\t1\tdb_redis\r\nerror\t15\terror C2365: “ntohs”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t177\t1\tdb_redis\r\nerror\t16\terror C2365: “open”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t178\t1\tdb_redis\r\nerror\t17\terror C2365: “read”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t181\t1\tdb_redis\r\nerror\t18\terror C2365: “select”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t182\t1\tdb_redis\r\nerror\t19\terror C2365: “setsockopt”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t183\t1\tdb_redis\r\nerror\t20\terror C2365: “socket”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t184\t1\tdb_redis\r\nerror\t21\terror C2365: “write”: redefinition；previous definition was 'function'\td:\\drong\\dependencies\\hiredis\\redis-win\\src\\win32_interop\\win32_fdapi.h\t185\t1\tdb_redis\r\n\r\n\r\nerror\t24\terror LNK2005: _inet_pton already defined in Win32_Interop_d.lib(Win32_FDAPI.obj)  d:\\drong\\_socket_d.pyd(socketmodule.obj)\r\n\r\nmain.h:\r\n\r\n#include \"hiredis.h\"\r\n#define NO_QFORKIMPL\r\n#include \"win32fixes.h\"\r\n#ifdef _DEBUG\r\n#pragma comment (lib, \"hiredis_d.lib\")\r\n#pragma comment (lib, \"Win32_Interop_d.lib\")\r\n#else\r\n#pragma comment (lib, \"hiredis.lib\")\r\n#pragma comment (lib, \"Win32_Interop.lib\")\r\n#endif\r\n"}}