mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Include arch/cc.h first, as architecture headers might #define NULL itself.
This commit is contained in:
parent
c13e08a7f5
commit
32fbec2e48
@ -32,6 +32,9 @@
|
||||
#ifndef __LWIP_DEF_H__
|
||||
#define __LWIP_DEF_H__
|
||||
|
||||
/* this might define NULL already */
|
||||
#include "arch/cc.h"
|
||||
|
||||
#define UMAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#ifndef NULL
|
||||
|
Loading…
Reference in New Issue
Block a user