zephyr/kernel
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
..
include x86: implement interrupt stack trampoline 2019-02-14 12:46:36 -05:00
atomic_c.c
CMakeLists.txt
compiler_stack_protect.c
device.c
errno.c
idle.c power: Fix naming of Kconfig options controlling deep sleep states 2019-02-12 07:46:32 -05:00
init.c
int_latency_bench.c
Kconfig kernel: minor syntax fix in Kconfig 2019-02-12 08:29:33 -06:00
Kconfig.power_mgmt power: Fix naming of Kconfig options controlling deep sleep states 2019-02-12 07:46:32 -05:00
mailbox.c
mem_domain.c
mem_slab.c
mempool.c
msg_q.c
mutex.c
pipes.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
poll.c
queue.c
sched.c kernel/sched: _thread_priority_set needs to be sched_lock aware 2019-02-08 14:49:39 -05:00
sem.c
smp.c
stack.c
system_work_q.c
thread_abort.c
thread.c
timeout.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
timer.c
userspace_handler.c
userspace.c
version.c
work_q.c kernel/work_q: Fix block-in-spinlock bug 2019-02-14 19:45:20 -05:00