freebsd-ports/graphics/inventor/files/patch-SoCalcParse.y
Maho Nakata 630eb2d3af SGI's Open Inventor (TM)
an object-oriented 3D toolkit offering a comprehensive
solution to interactive graphics programming problems.

PR:		46731
Submitted by:	Christian Gusenbauer <c47g@gmx.at>
2003-08-03 06:56:12 +00:00

18 lines
465 B
Text

--- lib/database/src/so/engines/SoCalcParse.y.old Sun Aug 3 14:03:28 2003
+++ lib/database/src/so/engines/SoCalcParse.y Sun Aug 3 14:09:13 2003
@@ -20,10 +20,14 @@
#include <Inventor/errors/SoDebugError.h>
#include "SoCalcExpr.h"
#include <stdio.h>
+
#ifdef __APPLE__
#include <float.h>
#include <limits.h>
-#else
+#elif defined __FreeBSD__
+#include <float.h>
+#define MINFLOAT FLT_MIN
+#else // __FreeBSD__
#include <values.h>
#endif
#include <math.h>