You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/02/04 15:37:01 UTC
[incubator-nuttx-apps] branch master updated: nettest: Avoid
conflicts with host definitions
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 43a3699 nettest: Avoid conflicts with host definitions
43a3699 is described below
commit 43a36996ca8c54bc0b5f56283c32fd0baefaa72a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Feb 5 00:30:34 2020 +0900
nettest: Avoid conflicts with host definitions
---
examples/nettest/nettest.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/nettest/nettest.h b/examples/nettest/nettest.h
index e1f8537..97f5fa0 100644
--- a/examples/nettest/nettest.h
+++ b/examples/nettest/nettest.h
@@ -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)