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

Adam Treat treat at kde.org
Fri Aug 24 16:13:50 CEST 2007


SVN commit 704262 by treat:

Compile


 M  +1 -1      memorywidget.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/memorywidget.cpp #704261:704262
@@ -30,7 +30,7 @@
 
 
 void MemoryWidget::updateFreeMemory() {
-#ifdef __linux__
+#ifdef HAVE_LINUX
   meminfo();
   unsigned long mi = S(kb_main_free + kb_main_buffers + kb_main_cached);
   setText(tr("%1 MB available").arg(mi / (1024 * 1024)));


More information about the Kst mailing list