0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-30 17:34:04 +01:00

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
#define INCLUDED_common_h
#ifndef NULL
#define NULL 0
#endif
/* Just blindly define our own MIN/MAX macro */
#define IRCD_MAX(a, b) ((a) > (b) ? (a) : (b))