mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 12:41:27 +08:00
Ensure that min is undefined prior to defining our own min macro to prevent any compiler warnings.
This commit is contained in:
committed by
Albrecht Schlosser
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user