Browse Source
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 MacOSmaster
3 changed files with 17 additions and 0 deletions
Loading…
Reference in new issue