update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / LabPlot / patches / patch-be
1 --- src/Plot2DSurface.cc.orig   2007-09-22 22:58:37.000000000 +0400
2 +++ src/Plot2DSurface.cc        2009-09-06 02:20:37.000000000 +0400
3 @@ -7,6 +7,11 @@
4  #include "Plot2DSurface.h"
5  #include "defs.h"
6  
7 +#ifdef __NetBSD__
8 +#define fmin(a,b) ((a)<(b)?(a):(b))
9 +#define fmax(a,b) ((a)>(b)?(a):(b))
10 +#endif
11 +
12  using namespace std;
13  
14  // density and contour 2D Plot class