Ethernet W5100/ENC gateway compile (not verified).
Remove SPI/ENC/W5100 from embedded libraies.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define UTIL_H
|
||||
|
||||
#define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
|
||||
#undef ntohs
|
||||
#define ntohs(x) htons(x)
|
||||
|
||||
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \
|
||||
|
||||
Reference in New Issue
Block a user