examples/udpblaster: Avoid conflicts with host OS definitions

This commit is contained in:
YAMAMOTO Takashi 2020-03-28 22:25:32 +09:00 committed by Xiang Xiao
parent 3ba85167fe
commit cf30257f1c

View File

@ -51,6 +51,8 @@
#ifdef UDPBLASTER_HOST
/* HTONS/L macros are unique to uIP */
# undef HTONS
# undef HTONL
# define HTONS(a) htons(a)
# define HTONL(a) htonl(a)