$NetBSD: patch-src_fl__draw.cxx,v 1.1 2018/05/17 10:37:23 jperkin Exp $ Use std::min correctly. --- src/fl_draw.cxx.orig 2006-12-21 19:39:26.000000000 +0000 +++ src/fl_draw.cxx @@ -32,14 +32,17 @@ // 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)) +//#define min(a,b) ((a)<(b)?(a):(b)) #include #include #include "flstring.h" +#include #include #include +using std::min; + #define MAXBUF 1024 char fl_draw_shortcut; // set by fl_labeltypes.cxx