~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to lib/select.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-8xjr3o2sgce5s4bg
Tags: 7.19.4-1
* New upstream release
* Fix "newer bdb version" <explain what you changed and why> 
  (Closes: #517277)
* resolve libtool version confusion, thanks to 
  Stefanos Harhalakis <v13@v13.gr>
* add new dependency on libgcrypt11-dev due to newly arising binary symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: select.h,v 1.15 2008-01-22 14:52:54 yangtse Exp $
 
23
 * $Id: select.h,v 1.16 2008-07-10 18:01:45 yangtse Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
#include "setup.h"
37
37
 
38
38
#if defined(USE_WINSOCK) && (USE_WINSOCK > 1) && \
39
39
    defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
40
 
#undef  HAVE_POLL
41
 
#define HAVE_POLL 1
42
 
#undef  HAVE_POLL_FINE
43
 
#define HAVE_POLL_FINE 1
44
 
#define poll(x,y,z) WSAPoll((x),(y),(z))
45
 
#if defined(_MSC_VER) && defined(POLLRDNORM)
46
 
#define HAVE_STRUCT_POLLFD 1
47
 
#endif
 
40
#  undef  HAVE_POLL
 
41
#  define HAVE_POLL 1
 
42
#  undef  HAVE_POLL_FINE
 
43
#  define HAVE_POLL_FINE 1
 
44
#  define poll(x,y,z) WSAPoll((x),(y),(z))
 
45
#  if defined(_MSC_VER) && defined(POLLRDNORM)
 
46
#    undef  POLLPRI
 
47
#    define POLLPRI POLLRDBAND
 
48
#    define HAVE_STRUCT_POLLFD 1
 
49
#  endif
48
50
#endif
49
51
 
50
52
/*