Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb, shut headers and drivers: update from ERROR_* macros to LIBUSB_ERROR_*… #1471

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

jimklimov
Copy link
Member

@jimklimov jimklimov commented Jul 13, 2022

…macros (avoid conflict on WIN32 - Some lessons learned from preparing the NUT for Windows branch, which should be useful in general codebase and reduce the discrepancies between the two efforts; follows up from issue #300 in a way)

Also define LIBUSB_ERROR_INTERRUPTED, LIBUSB_ERROR_NOT_SUPPORTED and LIBUSB_ERROR_OTHER tokens for libusb-0.1 and SHUT builds for completeness

…RROR_* macros (avoid conflict on WIN32)

Also define LIBUSB_ERROR_INTERRUPTED, LIBUSB_ERROR_NOT_SUPPORTED
and LIBUSB_ERROR_OTHER tokens for libusb-0.1 and SHUT builds for
completeness
@jimklimov jimklimov added USB refactor/fightwarn PR or issue proposal to improve code maintainability without functional changes, or to fix warnings labels Jul 13, 2022
@jimklimov jimklimov merged commit efa9f96 into networkupstools:master Jul 13, 2022
@jimklimov jimklimov deleted the cleanup-libusb-error branch July 13, 2022 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor/fightwarn PR or issue proposal to improve code maintainability without functional changes, or to fix warnings USB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant