zephyr/subsys/usb
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
..
class include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
bos.c logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
CMakeLists.txt usb: osdesc: Add MS OS Descriptors version 1 support 2018-07-12 23:10:22 -04:00
Kconfig usb: add SoF event 2018-11-23 09:18:41 -05:00
os_desc.c logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
os_desc.h usb: osdesc: Use definition for string descriptor index 2018-07-12 23:10:22 -04:00
usb_descriptor.c usb: Add helpers for getting common device data 2019-02-08 11:23:04 -05:00
usb_descriptor.h usb: Add helpers for getting common device data 2019-02-08 11:23:04 -05:00
usb_device.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00