blob: 604410eedb77c026afacea0bec16d267b6903a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ac,v 1.2 2007/06/30 18:42:24 joerg Exp $
--- src/rendererbase.cpp.orig 2006-04-28 00:52:30.000000000 +1200
+++ src/rendererbase.cpp
@@ -35,6 +35,10 @@
#include <iostream>
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#define fmin(a,b) ((a)<(b)?(a):(b))
+#define fmax(a,b) ((a)>(b)?(a):(b))
+#endif
namespace KoverArtist
{
|