~brianaker/libmemcached/cppcheck-fixes-040913

« back to all changes in this revision

Viewing changes to libmemcached/poll.h

  • Committer: Continuous Integration
  • Date: 2013-02-21 09:02:24 UTC
  • mfrom: (1148.1.13 libmemcached-1.0)
  • Revision ID: ci@tangent.org-20130221090224-dpkss7vogxu15cw8
Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-230

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#pragma once
14
14
 
15
 
#if defined(WIN32) || defined(__MINGW32__)
 
15
#if defined(_WIN32)
16
16
 
17
17
#include <winsock2.h>
18
18
 
22
22
 
23
23
typedef struct pollfd
24
24
{
25
 
#ifdef WIN32
 
25
#if defined(_WIN32)
26
26
  SOCKET fd;
27
27
#else
28
28
  int fd;
45
45
}
46
46
#endif
47
47
 
48
 
#endif // defined(WIN32) || defined(__MINGW32__)
 
48
#endif // defined(_WIN32)