diff options
author | Nathan Hjelm <hjelmn@me.com> | 2010-10-05 19:48:39 -0600 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2010-11-26 20:47:23 +0100 |
commit | 67d9ef7b6877e17f2deec81cd41dc0948f6bed4b (patch) | |
tree | 97ef297d68c354ec95344f8248465d6621f3f224 /configure.ac | |
parent | 370922dfbe0964c0b8a0c1974bb1d7b85ac10607 (diff) | |
download | libusb-67d9ef7b6877e17f2deec81cd41dc0948f6bed4b.tar.gz |
Remove USBI_OS_HANDLES_TIMEOUT and fix int/isoc timeouts on Darwin
Backends set USBI_TRANSFER_OS_HANDLES_TIMEOUT for transfers instead.
Darwin only handles timeouts for bulk and control transfers, so the
backend now sets that flag accordingly, making libusb core handle
timeouts for interrupt and isochronous transfers. Fixes #31.
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
[stuge: rework libusb_get_next_timeout() and enum usbi_transfer_flags]
[stuge: fix typo; set USBI_TRANSFER_TIMED_OUT flag correctly]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index af63aef..3dcb02d 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,6 @@ case $host in AC_DEFINE(OS_DARWIN, [], [Darwin backend]) AC_SUBST(OS_DARWIN) AC_DEFINE([THREADS_POSIX], [], [Use Posix Threads]) - AC_DEFINE(USBI_OS_HANDLES_TIMEOUT, [], [Backend handles timeout]) AC_MSG_RESULT([Darwin/MacOS X]) backend="darwin" threads="posix" |