|
|
@ -59,14 +59,14 @@ typedef int BOOL; |
|
|
|
#define MAX_PATH PATH_MAX |
|
|
|
#define MAX_PATH PATH_MAX |
|
|
|
#include <limits.h> |
|
|
|
#include <limits.h> |
|
|
|
#include <stdarg.h> |
|
|
|
#include <stdarg.h> |
|
|
|
|
|
|
|
#endif //_WIN32
|
|
|
|
#ifndef min |
|
|
|
#ifndef min |
|
|
|
#define min(a,b) (((a) < (b)) ? (a) : (b)) |
|
|
|
#define min(a,b) (((a) < (b)) ? (a) : (b)) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#ifndef max |
|
|
|
#ifndef max |
|
|
|
#define max(a,b) (((a) > (b)) ? (a) : (b)) |
|
|
|
#define max(a,b) (((a) > (b)) ? (a) : (b)) |
|
|
|
#define _vsnprintf(a,b,c,d) vsnprintf(a,b,c,d) |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif //_WIN32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Misc C-runtime library headers
|
|
|
|
// Misc C-runtime library headers
|
|
|
|
#include "stdio.h" |
|
|
|
#include "stdio.h" |
|
|
|