Try fix clang build

This commit is contained in:
mittorn 2018-07-29 20:07:15 +07:00
parent b1f6135c62
commit bcbd934aea
1 changed files with 7 additions and 0 deletions

View File

@ -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