mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
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))
|
||||
#endif
|
||||
|
||||
// Make NULL null pointer, not null integer
|
||||
#ifdef __clang__
|
||||
#ifdef NULL
|
||||
#undef NULL
|
||||
#endif
|
||||
#define NULL nullptr
|
||||
#endif
|
||||
#endif //EXTDLL_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user