From a0f3649c1abe7b831f083366e2fd91206bf23091 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Sat, 10 Dec 2011 16:54:41 +0000 Subject: (svn r23481) -Add: Function to get the CPU core count. --- src/os/os2/os2.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/os/os2') diff --git a/src/os/os2/os2.cpp b/src/os/os2/os2.cpp index bef44d4f5..21fd0c78b 100644 --- a/src/os/os2/os2.cpp +++ b/src/os/os2/os2.cpp @@ -210,3 +210,8 @@ void CSleep(int milliseconds) const char *FS2OTTD(const char *name) {return name;} const char *OTTD2FS(const char *name) {return name;} + +uint GetCPUCoreCount() +{ + return 1; +} -- cgit v1.2.3-70-g09d2