nettest: Avoid conflicts with host definitions

This commit is contained in:
YAMAMOTO Takashi
2020-02-05 00:30:34 +09:00
committed by patacongo
parent bcc0f5c0a9
commit 43a36996ca

View File

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