common: don't even attempt to define NULL.

stddef.h includes it, ISO C mandates NULL be in it, and if any platforms
don't have it, *tough shit*.
This commit is contained in:
Elizabeth Myers 2016-03-23 09:11:20 -05:00
parent aba29d5a19
commit fa1b3a733a

View file

@ -25,12 +25,6 @@
#ifndef INCLUDED_common_h #ifndef INCLUDED_common_h
#define INCLUDED_common_h #define INCLUDED_common_h
#ifndef NULL
#define NULL 0
#endif
/* Just blindly define our own MIN/MAX macro */ /* Just blindly define our own MIN/MAX macro */
#define IRCD_MAX(a, b) ((a) > (b) ? (a) : (b)) #define IRCD_MAX(a, b) ((a) > (b) ? (a) : (b))