Fix mac build

Change-Id: Ic0ada31663beadbff06ac18ca4c5960c869b0ec8
This commit is contained in:
David Turner
2011-04-16 19:23:56 +02:00
parent 218ccb4d46
commit 427cb6c3b0
2 changed files with 4 additions and 12 deletions

View File

@@ -18,8 +18,6 @@
#ifdef _WIN32
#include <windows.h>
#elif !defined(__linux__)
#error "Unsupported platform"
#endif
namespace osUtils {
@@ -34,7 +32,7 @@ public:
{
#ifdef _WIN32
return m_proc.dwProcessId;
#elif defined(__linux__)
#else
return(m_pid);
#endif
}
@@ -48,7 +46,7 @@ private:
private:
#ifdef _WIN32
PROCESS_INFORMATION m_proc;
#elif defined(__linux__)
#else
int m_pid;
#endif
};