[Kst] branches/work/kst/portto4/kst/src/libkst

Barth Netterfield netterfield at astro.utoronto.ca
Thu May 10 21:33:49 UTC 2012


SVN commit 1294026 by netterfield:

Fix compilation failure under linux:
#elif needs an expression


 M  +1 -1      datacollection.cpp  


--- branches/work/kst/portto4/kst/src/libkst/datacollection.cpp #1294025:1294026
@@ -51,7 +51,7 @@
   statex.dwLength = sizeof(statex);
   GlobalMemoryStatusEx(&statex);
   available_memory = statex.ullAvailPhys;
-#elif Q_OS_LINUX
+#elif defined Q_OS_LINUX
   QMutexLocker ml(&bigLock);
   meminfo();
   available_memory = double(S(kb_main_free + kb_main_cached)) - 30.0*1024.0*1024.0; // 30MB margin


More information about the Kst mailing list