commit | 61c457a699d211848efcbe538d949768e01b1d32 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Thu Apr 16 14:31:18 2020 -0700 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Thu Apr 16 14:31:18 2020 -0700 |
tree | dbf4c29fbd6c371298e5829b535804bc1d3216ed | |
parent | e990e48fa85e73cd16f2f0b4b02037d8c287d22f [diff] |
libusb.h: Simplify condition governing the inclusion of sys/time.h The expression for the condition grows each time a new backend is added, but it can be simplified if changed to key off of the _MSC_VER macro. The sys/time.h header is ubiquitous across all platforms and build environments except Visual Studio, so change the condition to be based on this. This fixes builds on BSD where the condition was not evaluating to true. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)