]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
#define NULL if not defined by system includes.
authorMartin Mares <mj@ucw.cz>
Mon, 29 Mar 1999 19:13:36 +0000 (19:13 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 29 Mar 1999 19:13:36 +0000 (19:13 +0000)
lib/birdlib.h

index 545ee1b5f3186dca26ec7a0229b2b660dfc777e8..b57478df22532d9ccffd5f3802f3aeae9257431d 100644 (file)
 #define MIN(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 */
 
 #define NORET __attribute__((noreturn))