0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-03 22:28:52 +02: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 b0f5f40071
commit affc871dcb

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