diff options
Diffstat (limited to 'src/modules/math')
| -rw-r--r-- | src/modules/math/libkvimath.cpp | 2 | ||||
| -rw-r--r-- | src/modules/math/math.pro | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/math/libkvimath.cpp b/src/modules/math/libkvimath.cpp index af7152c96..192eb9418 100644 --- a/src/modules/math/libkvimath.cpp +++ b/src/modules/math/libkvimath.cpp @@ -50,7 +50,7 @@ static bool __fncname(KviKvsModuleFunctionCall * c) \ return true; \ } -#ifdef COMPILE_ON_WINDOWS +#if defined(COMPILE_ON_WINDOWS) && !defined(__GNUC__) // dobbiamo testare meglio, i risultati. static double cbrt(double x) { diff --git a/src/modules/math/math.pro b/src/modules/math/math.pro new file mode 100644 index 000000000..08d53dbdc --- /dev/null +++ b/src/modules/math/math.pro @@ -0,0 +1,5 @@ +TARGET = kvimath
+
+SOURCES += libkvimath.cpp
+
+include(../module.pri)
\ No newline at end of file |
