aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/math
diff options
context:
space:
mode:
authorGravatar Robert Förster2014-02-27 12:53:54 +0000
committerGravatar Robert Förster2014-02-27 12:53:54 +0000
commit3d55f451a2360d810209053e0f4115c1cc96a531 (patch)
treee079971fd57faa4901f6db609434b9965f6db9b3 /src/modules/math
parentFix ugliness of fonts on MacOS X for Retina display (diff)
downloadKVIrc-3d55f451a2360d810209053e0f4115c1cc96a531.tar.gz
KVIrc-3d55f451a2360d810209053e0f4115c1cc96a531.tar.bz2
KVIrc-3d55f451a2360d810209053e0f4115c1cc96a531.zip
- some fixing for cmake 3
- compile with WIN32_LEAN_AND_MEAN - fix compilation with qt5 on windows, thanks to d00p for the transparency fix - some work on windows resource files (still in progress) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6370 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/math')
-rw-r--r--src/modules/math/libkvimath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/math/libkvimath.cpp b/src/modules/math/libkvimath.cpp
index 879fee17c..83d48a06e 100644
--- a/src/modules/math/libkvimath.cpp
+++ b/src/modules/math/libkvimath.cpp
@@ -60,7 +60,7 @@ static bool __fncname(KviKvsModuleFunctionCall * c) \
#ifdef COMPILE_ON_WINDOWS
// we have to test better the results
-static double cbrt(double x)
+inline static double cbrt(double x)
{
if (x > 0.0) return pow(x, 1.0/3.0);
else return -pow(-x, 1.0/3.0);