[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP Contrib - Contributed code for Lightweight TCP
From: |
Joel Cunningham |
Subject: |
[lwip-commits] [SCM] lwIP Contrib - Contributed code for Lightweight TCP/IP stack branch, master, updated. STABLE-2_0_0_RELEASE-166-g0f96523 |
Date: |
Fri, 13 Oct 2017 08:58:13 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP Contrib - Contributed code for Lightweight TCP/IP stack".
The branch, master has been updated
via 0f96523fa4b4593bf89c3f73da57fef93eee390c (commit)
from 90d3cec0af51c9177a6411c3192d270234e53acc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0f96523fa4b4593bf89c3f73da57fef93eee390c
Author: Joel Cunningham <address@hidden>
Date: Thu Oct 12 17:41:35 2017 -0500
Build unix port on MacOS/clang
Add support to use Darwin byte order functions instead of LwIP's macros.
These were being pulled in through system includes used in the Unix port
files.
Pull sys/types.h in cc.h to get the Darwin macros and use them throughout
In sio.c a number of non-POSIX types/symbols are used, by default MacOS is
compiling
with _POSIX_C_SOURCE which guards these additional items. To enable them,
we define
_DARWIN_C_SOURCE before any system includes
In unixif.c string.h was not included yet memset and friends are being
used. This
caused Wimplicit-function-declaration warnings with clang
This only fixes issue seen in the source, the Makefiles need additional
changes to
build with MacOS
-----------------------------------------------------------------------
Summary of changes:
ports/unix/port/include/arch/cc.h | 8 ++++++++
ports/unix/port/netif/sio.c | 8 ++++++++
ports/unix/port/netif/unixif.c | 1 +
3 files changed, 17 insertions(+)
hooks/post-receive
--
lwIP Contrib - Contributed code for Lightweight TCP/IP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP Contrib - Contributed code for Lightweight TCP/IP stack branch, master, updated. STABLE-2_0_0_RELEASE-166-g0f96523,
Joel Cunningham <=