Ensure that min is undefined prior to defining our own min macro to prevent any compiler warnings.
This commit is contained in:
parent
94611b7429
commit
d5b1e625dc
@ -39,6 +39,7 @@
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
||||
#undef min
|
||||
#define min(a,b) ((a)<(b)?(a):(b))
|
||||
#define MAXBUF 1024
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user