~ubuntu-branches/ubuntu/raring/gnutls26/raring

« back to all changes in this revision

Viewing changes to lib/gl/w32sock.h

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler, 20_tests-select.diff
  • Date: 2011-11-15 19:10:06 UTC
  • mfrom: (12.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20111115191006-ewpl0pfwe6et0mra
Tags: 2.12.14-3
[20_tests-select.diff] Do not run gnulib test-select test anymore. The
test fails on kfreebsd-i386, the gnutls library does not use select().
Closes: #648247

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
/* Get O_RDWR and O_BINARY.  */
23
23
#include <fcntl.h>
24
24
 
25
 
/* Get _get_osfhandle() and _open_osfhandle().  */
 
25
/* Get _open_osfhandle().  */
26
26
#include <io.h>
27
27
 
 
28
/* Get _get_osfhandle().  */
 
29
#include "msvc-nothrow.h"
 
30
 
28
31
#define FD_TO_SOCKET(fd)   ((SOCKET) _get_osfhandle ((fd)))
29
32
#define SOCKET_TO_FD(fh)   (_open_osfhandle ((long) (fh), O_RDWR | O_BINARY))
30
33