zephyr/include/misc
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
..
__assert.h misc: Add k_panic on assert 2019-02-02 15:58:33 -08:00
byteorder.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
dlist.h misc/dlist: Swap insertion API for a faster one 2019-02-01 15:57:21 -05:00
errno_private.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
fdtable.h lib: fdtable: Change ioctl vmethod signature to take va_list 2018-12-14 13:21:31 +02:00
gcov.h tests: coverage: Add Gcov support. 2019-01-16 06:12:33 -05:00
libc-hooks.h libc: set up memory partitions 2019-02-08 07:04:30 -05:00
list_gen.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
mempool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
mempool_base.h misc: mempool: Using distinct macro identifiers 2018-10-31 19:43:47 -04:00
printk.h printk: don't print incorrect 64-bit integers 2019-01-18 08:23:15 -08:00
rb.h misc: rb: Make an evaluation a boolean expression 2018-11-30 08:05:11 -08:00
reboot.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ring_buffer.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sflist.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
slist.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
stack.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
util.h include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00