zephyr/subsys/usb/class
Carlos Stuart 75f77db432 include: misc: util.h: Rename min/max to MIN/MAX
There are issues using lowercase min and max macros when compiling a C++
application with a third-party toolchain such as GNU ARM Embedded when
using some STL headers i.e. <chrono>.

This is because there are actual C++ functions called min and max
defined in some of the STL headers and these macros interfere with them.
By changing the macros to UPPERCASE, which is consistent with almost all
other pre-processor macros this naming conflict is avoided.

All files that use these macros have been updated.

Signed-off-by: Carlos Stuart <carlosstuart1970@gmail.com>
2019-02-14 22:16:03 -05:00
..
hid include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
netusb include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
bluetooth.c usb: Refactor usb_interface_config callback 2019-02-08 11:23:04 -05:00
cdc_acm.c usb: cdc_acm: Use new device data interface 2019-02-08 11:23:04 -05:00
CMakeLists.txt subsys: usb: class: add loopback function 2018-07-06 11:56:16 -05:00
Kconfig usb: cdc_acm: Refactor Kconfig for CDC ACM 2019-02-08 11:23:04 -05:00
loopback.c usb: Refactor usb_interface_config callback 2019-02-08 11:23:04 -05:00
mass_storage.c usb: msc: Fix redeclaration of enumerators 2019-02-08 11:23:04 -05:00
usb_dfu.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00