mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
handy macros that are available in windows but not loonix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4385 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1d1eeffa7b
commit
d0c7e83b62
1 changed files with 4 additions and 0 deletions
|
@ -190,6 +190,10 @@ extern QCC_opcode_t pr_opcodes[]; // sized by initialization
|
|||
#define Q_vsnprintf vsnprintf
|
||||
#endif
|
||||
|
||||
#ifndef max
|
||||
#define max(a,b) ((a) > (b) ? (a) : (b))
|
||||
#define min(a,b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#define sv_num_edicts (*externs->sv_num_edicts)
|
||||
#define sv_edicts (*externs->sv_edicts)
|
||||
|
|
Loading…
Reference in a new issue