aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/math/libkvimath.cpp
diff options
context:
space:
mode:
authorGravatar Robert Förster2013-10-11 21:50:39 +0000
committerGravatar Robert Förster2013-10-11 21:50:39 +0000
commit76e4e86a97ae7386e34847567eb0c6eb01a9e610 (patch)
treee42f62542bab6434e7a77c4f6c3bf9efa35b02a3 /src/modules/math/libkvimath.cpp
parent- regenerate with ExtUtils-ParseXS-3.22 hopefully fixing perl 5.18 FTBFS (diff)
downloadKVIrc-76e4e86a97ae7386e34847567eb0c6eb01a9e610.tar.gz
KVIrc-76e4e86a97ae7386e34847567eb0c6eb01a9e610.tar.bz2
KVIrc-76e4e86a97ae7386e34847567eb0c6eb01a9e610.zip
- fixes for sunpro, with the exception of snd, kvirc now works with it
- replace solaris define with more correct one - add win 6.3 kernel crap - replace apparently deprecated QT4_FOUND with Qt4_FOUND, also fix display issue with audio backend - remove solaris threads "support" (it never existed, and cmake upstream doesn't seem to care either) - bump Devel-PPPort to 3.21, regenerate typemap from perl 5.18.1 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6356 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/math/libkvimath.cpp')
-rw-r--r--src/modules/math/libkvimath.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/math/libkvimath.cpp b/src/modules/math/libkvimath.cpp
index 213a5c4c8..f87d5b64e 100644
--- a/src/modules/math/libkvimath.cpp
+++ b/src/modules/math/libkvimath.cpp
@@ -39,6 +39,14 @@
#endif
#endif
++/* Solaris doesn't have isinf? */
+#if defined (__SVR4) && defined (__sun)
+ #ifndef isinf
+ #include <ieeefp.h>
+ #define isinf(x) (!finite((x)) && (x)==(x))
+ #endif
+#endif
+
#define MATH_KVS_1PARAM_FUNCTION(__fncname,__paramname,__mathcallname) \
static bool __fncname(KviKvsModuleFunctionCall * c) \
{ \