Fix build on some enviroments

This commit is contained in:
mittorn 2016-08-18 23:23:03 +00:00
parent 396629081c
commit 21317e7da3
1 changed files with 7 additions and 6 deletions

View File

@ -51,12 +51,6 @@ typedef int BOOL;
#include <limits.h>
#include <stdarg.h>
#endif //_WIN32
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
// Misc C-runtime library headers
#include "stdio.h"
@ -84,4 +78,11 @@ typedef float vec_t; // needed before including progdefs.h
// Shared header between the client DLL and the game DLLs
#include "cdll_dll.h"
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#endif //EXTDLL_H