Include arch/cc.h first, as architecture headers might #define NULL itself.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user