summaryrefslogtreecommitdiff
path: root/misc/kdeedu4/patches/patch-ao
blob: 367dd24c854aca4e6dd0b24b00ec7caf9970a5f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ao,v 1.2 2010/10/25 20:55:25 markd Exp $

--- kig/objects/object_factory.cc.orig	2010-06-08 10:11:01.000000000 +0000
+++ kig/objects/object_factory.cc
@@ -41,6 +41,10 @@
 #include <limits>
 #include <iterator>
 
+#ifdef __NetBSD__
+#define fmin(a,b) ((a) < (b) ? (a) : (b))
+#endif
+
 ObjectHolder* ObjectFactory::fixedPoint( const Coordinate& c ) const
 {
   ObjectHolder* o = new ObjectHolder( fixedPointCalcer( c ) );