#define NULL if not defined by system includes.

This commit is contained in:
Martin Mares 1999-03-29 19:13:36 +00:00
parent 7f400d1c62
commit 6134024815

View file

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