zephyr/include/arch
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
..
arc include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
arm include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
nios2 kernel: init: Add nop instruction in main 2018-12-14 13:17:36 +01:00
posix include/arch: Steal native_posix bit manipulation routines 2019-01-11 15:18:52 -05:00
riscv32 boards: remove pulpino board 2019-01-31 22:47:18 -05:00
x86 include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
x86_64 arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
xtensa kernel: init: Add nop instruction in main 2018-12-14 13:17:36 +01:00
bits_portable.h include/arch: Steal native_posix bit manipulation routines 2019-01-11 15:18:52 -05:00
cpu.h arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
syscall.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00