Include arch/cc.h first, as architecture headers might #define NULL itself.

This commit is contained in:
likewise 2003-02-10 13:20:33 +00:00
parent c13e08a7f5
commit 32fbec2e48

View File

@ -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