summaryrefslogtreecommitdiff
path: root/src/cpu.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-02 09:26:21 +0000
committerrubidium <rubidium@openttd.org>2014-01-02 09:26:21 +0000
commit868a67111b6c5b8b743356d268cf00fa39d88567 (patch)
tree5ac802d217e542b5a0ae8ce20fec13510cc71d34 /src/cpu.cpp
parent298b003db129eeeeaf1129a138db3125928045b8 (diff)
downloadopenttd-868a67111b6c5b8b743356d268cf00fa39d88567.tar.xz
(svn r26200) -Fix (r26197): hopefully it works now
Diffstat (limited to 'src/cpu.cpp')
-rw-r--r--src/cpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu.cpp b/src/cpu.cpp
index 0ebb4c1aa..efa070bcb 100644
--- a/src/cpu.cpp
+++ b/src/cpu.cpp
@@ -89,6 +89,7 @@ uint64 ottd_rdtsc() {return 0;}
*/
#if defined(_MSC_VER)
void ottd_cpuid(int info[4], int type)
+{
__cpuid(info, type);
}
#elif defined(__x86_64__) || defined(__i386)