summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-21 22:39:22 +0200
committermadmaxoft <github@xoft.cz>2013-09-21 22:40:14 +0200
commit184bcd3dd14bfa3b166b9568fac66ac3737fb070 (patch)
tree2df4e0defb0919fe6a3ffaac76b3299a1419451a /source
parentFixed Linux threading issues. (diff)
downloadcuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar.gz
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar.bz2
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar.lz
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar.xz
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.tar.zst
cuberite-184bcd3dd14bfa3b166b9568fac66ac3737fb070.zip
Diffstat (limited to '')
-rw-r--r--source/WebAdmin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/WebAdmin.cpp b/source/WebAdmin.cpp
index bf271eafc..3931c8c89 100644
--- a/source/WebAdmin.cpp
+++ b/source/WebAdmin.cpp
@@ -20,6 +20,8 @@
#include <psapi.h>
#elif defined(__linux__)
#include <fstream>
+#elif defined(__APPLE__)
+ // Apple-specific includes go here
#endif
@@ -448,8 +450,14 @@ int cWebAdmin::GetMemoryUsage(void)
}
}
return -1;
+ #elif defined (__APPLE__)
+ // TODO: Apple-specific
#else
LOGINFO("%s: Unknown platform, cannot query memory usage", __FUNCTION__);
return -1;
#endif
}
+
+
+
+