mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 15:32:21 +08:00
nettest: Avoid conflicts with host definitions
This commit is contained in:

committed by
patacongo

parent
bcc0f5c0a9
commit
43a36996ca
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user