summaryrefslogtreecommitdiff
path: root/src/cpu.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2018-04-29 14:21:31 +0200
committerPatric Stout <truebrain@openttd.org>2018-04-29 15:32:16 +0200
commitaef69443e766089b0d9ceaa2255959ee327396f0 (patch)
treeba28c681763b53d9ed543bd84c1b069da6744a1d /src/cpu.cpp
parent85adde74858161240860ed9e4bf67f9be838de45 (diff)
downloadopenttd-aef69443e766089b0d9ceaa2255959ee327396f0.tar.xz
Remove: WinCE support
Diffstat (limited to 'src/cpu.cpp')
-rw-r--r--src/cpu.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cpu.cpp b/src/cpu.cpp
index c48b8cbd4..9393ea061 100644
--- a/src/cpu.cpp
+++ b/src/cpu.cpp
@@ -18,7 +18,7 @@
/* rdtsc for MSC_VER, uses simple inline assembly, or _rdtsc
* from external win64.asm because VS2005 does not support inline assembly */
-#if defined(_MSC_VER) && !defined(RDTSC_AVAILABLE) && !defined(WINCE)
+#if defined(_MSC_VER) && !defined(RDTSC_AVAILABLE)
#include <intrin.h>
uint64 ottd_rdtsc()
{
@@ -71,10 +71,7 @@ uint64 ottd_rdtsc()
/* In all other cases we have no support for rdtsc. No major issue,
* you just won't be able to profile your code with TIC()/TOC() */
#if !defined(RDTSC_AVAILABLE)
-/* MSVC (in case of WinCE) can't handle #warning */
-# if !defined(_MSC_VER)
#warning "(non-fatal) No support for rdtsc(), you won't be able to profile with TIC/TOC"
-# endif
uint64 ottd_rdtsc() {return 0;}
#endif