1
0

Prepared cWebAdmin for Apple-specific GetMmeoryUsage()

This commit is contained in:
madmaxoft 2013-09-21 22:39:22 +02:00
parent c56bc4b01c
commit 184bcd3dd1

View File

@ -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
}