mirror of https://github.com/FWGS/hlsdk-xash3d
Try fix clang build
This commit is contained in:
parent
b1f6135c62
commit
bcbd934aea
|
@ -96,4 +96,11 @@ typedef float vec_t; // needed before including progdefs.h
|
||||||
#define Q_max(a,b) (((a) > (b)) ? (a) : (b))
|
#define Q_max(a,b) (((a) > (b)) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Make NULL null pointer, not null integer
|
||||||
|
#ifdef __clang__
|
||||||
|
#ifdef NULL
|
||||||
|
#undef NULL
|
||||||
|
#endif
|
||||||
|
#define NULL nullptr
|
||||||
|
#endif
|
||||||
#endif //EXTDLL_H
|
#endif //EXTDLL_H
|
||||||
|
|
Loading…
Reference in New Issue