From fa1b3a733ad88266773fe5fe3974f5ffb89ef066 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Wed, 23 Mar 2016 09:11:20 -0500 Subject: [PATCH] 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*. --- include/common.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/common.h b/include/common.h index 7754007e..676b6b9c 100644 --- a/include/common.h +++ b/include/common.h @@ -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))