libusb/libusb/os
Chris Dickens 32ef4335d4 core: Fix --disable-log option to remove logging functionality
Prior to this commit, building the library with the '--disable-log'
option would compile out the debug messages, but the logging functions
remained and would never be used. This commit brings the logging
functions themselves into consideration when building the library.

Additionally, the logging code has been optimized to compile away
unnecessary checks when the '--enable-debug-log' is used and to remove
the debug variables from the context if the library is compiled in such
a way that the debug level is not configurable.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
2017-07-09 21:28:57 -07:00
..
darwin_usb.c core: Kill usbi_os_backend structure definition madness 2017-07-06 14:26:46 -07:00
darwin_usb.h darwin: updates to support el capitan 2015-11-21 10:30:23 -07:00
haiku_pollfs.cpp Misc: Simplify Haiku build and fix broken parallel build 2015-12-17 01:02:08 -08:00
haiku_usb.h Misc: Simplify Haiku build and fix broken parallel build 2015-12-17 01:02:08 -08:00
haiku_usb_backend.cpp Misc: Simplify Haiku build and fix broken parallel build 2015-12-17 01:02:08 -08:00
haiku_usb_raw.cpp core: Add provisions for per-context private backend data 2017-07-06 14:26:46 -07:00
haiku_usb_raw.h Misc: Simplify Haiku build and fix broken parallel build 2015-12-17 01:02:08 -08:00
linux_netlink.c linux: Mark internal file descriptors as CLOEXEC 2017-02-28 21:25:25 -08:00
linux_udev.c linux: Mark internal file descriptors as CLOEXEC 2017-02-28 21:25:25 -08:00
linux_usbfs.c core: Kill usbi_os_backend structure definition madness 2017-07-06 14:26:46 -07:00
linux_usbfs.h Miscellaneous fixes 2015-09-20 15:06:14 -07:00
netbsd_usb.c core: Add provisions for per-context private backend data 2017-07-06 14:26:46 -07:00
openbsd_usb.c core: Add provisions for per-context private backend data 2017-07-06 14:26:46 -07:00
poll_posix.c linux: Mark internal file descriptors as CLOEXEC 2017-02-28 21:25:25 -08:00
poll_posix.h POSIX: Move setting of pipes to non-blocking into usbi_pipe 2013-05-28 12:29:02 +02:00
poll_windows.c Windows: Fix printf format specifiers in poll_windows.c 2016-01-06 22:16:58 -08:00
poll_windows.h windows: fix USB 3.0 speed detection on Windows 8 or later 2014-05-18 20:19:03 +01:00
sunos_usb.c core: Kill usbi_os_backend structure definition madness 2017-07-06 14:26:46 -07:00
sunos_usb.h Solaris backend 2016-07-24 20:00:00 -06:00
threads_posix.c core: Kill usbi_os_backend structure definition madness 2017-07-06 14:26:46 -07:00
threads_posix.h core: Change event handling lock to traditional (non-recursive) type 2016-08-17 12:52:40 -06:00
threads_windows.c core: Remove POSIX threads influence from synchronization code 2016-02-24 10:51:49 -08:00
threads_windows.h core: Change event handling lock to traditional (non-recursive) type 2016-08-17 12:52:40 -06:00
wince_usb.c core: Add provisions for per-context private backend data 2017-07-06 14:26:46 -07:00
wince_usb.h Windows/WinCE: Improve the run-time dynamic linking scheme 2016-01-28 00:55:10 -08:00
windows_common.h Windows: Remove unused safe_* macro definitions 2017-01-12 15:26:41 -08:00
windows_nt_common.c Windows: Clean up unnecessary variable initialization 2017-01-12 15:26:40 -08:00
windows_nt_common.h Windows: Fixed USB_CONFIGURATION_DESCRIPTOR struct alignment issue (10 bytes size instead of 9) 2017-06-05 23:18:19 -07:00
windows_usbdk.c core: Add provisions for per-context private backend data 2017-07-06 14:26:46 -07:00
windows_usbdk.h Windows: Source file cleanup 2016-01-26 23:52:24 -08:00
windows_winusb.c core: Fix --disable-log option to remove logging functionality 2017-07-09 21:28:57 -07:00
windows_winusb.h Windows: Header file cleanup 2017-06-05 23:18:13 -07:00