mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
make progs type checking optional at configure time. still defaults to on.
This commit is contained in:
parent
b2cd7c6c36
commit
05cf89dd5d
4 changed files with 11 additions and 2 deletions
|
@ -157,7 +157,7 @@ typedef struct
|
|||
|
||||
extern sv_fields_t sv_fields;
|
||||
|
||||
#if 1
|
||||
#if TYPECHECK_PROGS
|
||||
#define SVFIELD(e,f,t) E_var (e, PR_AccessField (&sv_pr_state, #f, ev_##t, __FILE__, __LINE__), t)
|
||||
#else
|
||||
#define SVFIELD(e,f,t) E_var (e, sv_fields.f, t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue