mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
Fixed min and max redefinition complaint on win32.
This commit is contained in:
parent
cbd8135196
commit
f17ed670d5
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "stdlib.h"
|
||||||
|
|
||||||
#ifndef max
|
#ifndef max
|
||||||
# define max(a,b) ((a) > (b) ? (a) : (b))
|
# define max(a,b) ((a) > (b) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue