#define NULL if not defined by system includes.
This commit is contained in:
parent
7f400d1c62
commit
6134024815
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@
|
||||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||||
|
|
||||||
|
#ifndef NULL
|
||||||
|
#define NULL ((void *) 0)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Functions which don't return */
|
/* Functions which don't return */
|
||||||
|
|
||||||
#define NORET __attribute__((noreturn))
|
#define NORET __attribute__((noreturn))
|
||||||
|
|
Loading…
Reference in a new issue