Ensure that min is undefined prior to defining our own min macro to prevent any compiler warnings.

This commit is contained in:
ComputerNerd 2020-12-07 21:36:27 -06:00 committed by Albrecht Schlosser
parent 94611b7429
commit d5b1e625dc
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@
#include <ctype.h>
#include <math.h>
#undef min
#define min(a,b) ((a)<(b)?(a):(b))
#define MAXBUF 1024