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:
parent
aba29d5a19
commit
fa1b3a733a
1 changed files with 0 additions and 6 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue