zephyr/subsys
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
..
app_memory app_shmem: overhaul partition specification 2019-02-08 07:04:30 -05:00
bluetooth include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
console console: Remove CONFIG_WEBSOCKET_CONSOLE code 2019-02-11 22:29:58 -05:00
cpp c++: kconfig: EXCEPTIONS needs to depend on NEWLIB_LIBC 2018-11-28 13:51:35 -08:00
debug debug: Place Kconfig tracing options in debug submenu 2019-02-14 10:29:06 -05:00
dfu dfu: img_util: Convert FLASH_WRITE_BLOCK_SIZE to DT_ 2019-02-08 22:39:07 -06:00
disk include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
fb cfb: increase maximum resolution of the framebuffer 2019-02-02 09:04:05 -05:00
fs include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
jwt jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
logging include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
mgmt shell: removing legacy shell 2019-01-16 21:35:36 -05:00
net include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
power power: Add sys_pm_force_power_state() API 2019-02-11 07:52:12 -05:00
random
settings include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
shell shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
stats
storage storage: flash_map: fix copyright assignment 2019-02-11 20:40:47 -06:00
usb include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
CMakeLists.txt jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00
Kconfig jwt: Add JSON web token library 2019-02-08 15:32:58 -06:00