Browse Source

Fix build on some enviroments

wantedhl
mittorn 8 years ago
parent
commit
21317e7da3
  1. 13
      dlls/extdll.h

13
dlls/extdll.h

@ -51,12 +51,6 @@ typedef int BOOL; @@ -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 @@ -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

Loading…
Cancel
Save