freebsd-ports/devel/qsa/files/extrapatch-src_engine_qsoperations.cpp
Michael Nottebrock a7323a548f Add qsa, a cross-platform scripting toolkit for Qt applications
PR: 	ports/66164 (based on)
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
2004-09-02 16:16:58 +00:00

16 lines
301 B
C++

--- src/engine/qsoperations.cpp.orig Mon Jul 12 15:04:29 2004
+++ src/engine/qsoperations.cpp Mon Jul 12 15:23:49 2004
@@ -61,6 +61,13 @@
}
#endif
+#ifdef __FreeBSD__
+extern "C" {
+ int isnan( double );
+ int isinf( double );
+}
+#endif
+
using namespace QS;
bool QS::isNaN( double d )