common: fix NULL redefine(do we really need NULL definition?)

This commit is contained in:
Alibek Omarov 2018-11-18 17:52:01 +03:00
parent 9d93eca572
commit deb537c1bb

View File

@ -103,6 +103,10 @@ XASH SPECIFIC - sort of hack that works only in Xash3D not in GoldSrc
#define FBitSet( iBitVector, bit ) ((iBitVector) & (bit))
#ifndef __cplusplus
#ifdef NULL
#undef NULL
#endif
#define NULL ((void *)0)
#endif