From 94611b74296cfaba7c13dd55e2d6984120b66f52 Mon Sep 17 00:00:00 2001 From: ComputerNerd Date: Mon, 7 Dec 2020 19:22:15 -0600 Subject: [PATCH] Fix min not defined compiler error using the same method the Debian maintainers did by moving it down. --- src/fl_draw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 216ec072a..d055b3ed0 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -32,7 +32,6 @@ // Expands all unprintable characters to ^X or \nnn notation // Aligns them against the inside of the box. -#define min(a,b) ((a)<(b)?(a):(b)) #include #include @@ -40,6 +39,7 @@ #include #include +#define min(a,b) ((a)<(b)?(a):(b)) #define MAXBUF 1024 char fl_draw_shortcut; // set by fl_labeltypes.cxx