From 184bcd3dd14bfa3b166b9568fac66ac3737fb070 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sat, 21 Sep 2013 22:39:22 +0200 Subject: Prepared cWebAdmin for Apple-specific GetMmeoryUsage() --- source/WebAdmin.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/WebAdmin.cpp') 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 #elif defined(__linux__) #include +#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 } + + + + -- cgit v1.2.3