qbsp: define offsetof to builtin if not defined
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
ff9bb3eab0
commit
7a65efbc00
|
|
@ -37,6 +37,10 @@
|
|||
#include "warnerr.h"
|
||||
#include "file.h"
|
||||
|
||||
#ifndef offsetof
|
||||
#define offsetof(type, member) __builtin_offsetof(type, member)
|
||||
#endif
|
||||
|
||||
//===== cmdlib.h
|
||||
|
||||
// Current BSP version
|
||||
|
|
|
|||
Loading…
Reference in New Issue