zephyr/subsys/net/lib/sockets
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: sockets: Add gethostname() call 2019-02-08 10:39:30 +02:00
getaddrinfo.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
Kconfig net: sockets: Remove extra "default n" setting from config 2019-02-08 16:01:49 +02:00
socket_offload.c net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
sockets_can.c net: socket: can: Add getsockopt() and setsockopt() support 2019-02-07 18:08:27 +02:00
sockets_internal.h net: socket: can: Add socket CAN support 2019-02-07 18:08:27 +02:00
sockets_misc.c net: sockets: Add gethostname() call 2019-02-08 10:39:30 +02:00
sockets_packet.c net: sockets: Add socket api to support AF_PACKET 2019-02-07 14:43:30 +02:00
sockets_select.c net: sockets_select: Fix build without CONFIG_NET_SOCKETS_POSIX_NAMES 2019-01-29 09:19:54 +02:00
sockets_tls.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
sockets.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00