mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
Added #undefs for htonl and friends to keep compiler from issuing "doubly defined" warnings
This commit is contained in:
parent
814f8c505e
commit
43c6a550b2
@ -5,6 +5,18 @@
|
||||
#include "lwip/sys.h"
|
||||
#include "lwip/arch.h"
|
||||
|
||||
/* Following #undefs are here to keep compiler from issuing warnings
|
||||
about them being double defined. (They are defined in lwip/inet.h
|
||||
as well as the Unix #includes below.) */
|
||||
#undef htonl
|
||||
#undef ntohl
|
||||
#undef htons
|
||||
#undef ntohs
|
||||
#undef HTONL
|
||||
#undef NTOHL
|
||||
#undef HTONS
|
||||
#undef NTOHS
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <termios.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user