mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +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__
|
#ifndef __LWIP_DEF_H__
|
||||||
#define __LWIP_DEF_H__
|
#define __LWIP_DEF_H__
|
||||||
|
|
||||||
|
/* this might define NULL already */
|
||||||
|
#include "arch/cc.h"
|
||||||
|
|
||||||
#define UMAX(a, b) ((a) > (b) ? (a) : (b))
|
#define UMAX(a, b) ((a) > (b) ? (a) : (b))
|
||||||
|
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user