zephyr/subsys/net/lib/dns
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
..
CMakeLists.txt net: llmnr: Add LLMNR responder support 2018-06-29 13:11:18 +03:00
dns_pack.c misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
dns_pack.h net: Avoid holes in structs 2018-07-25 15:20:34 +03:00
Kconfig net: Make Kconfig template variables prettier 2018-10-05 09:01:37 -04:00
llmnr_responder.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
mdns_responder.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
resolve.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00