summaryrefslogtreecommitdiff
path: root/src/os_timer.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-11-26 13:12:45 +0000
committerrubidium <rubidium@openttd.org>2008-11-26 13:12:45 +0000
commita614dd717420b3713f629f8eabe5607c550dedcd (patch)
treec580b06966266044ef5c0a54b557d872556e989d /src/os_timer.cpp
parentbb25748a9dfb150b5168af8bffb961335032db6c (diff)
downloadopenttd-a614dd717420b3713f629f8eabe5607c550dedcd.tar.xz
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
Diffstat (limited to 'src/os_timer.cpp')
-rw-r--r--src/os_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_timer.cpp b/src/os_timer.cpp
index 0166a445c..bf0a171de 100644
--- a/src/os_timer.cpp
+++ b/src/os_timer.cpp
@@ -35,7 +35,7 @@ unsigned __int64 ottd_rdtsc();
#endif
/* rdtsc for all other *nix-en (hopefully). Use GCC syntax */
-#if defined(__i386__) || defined(__x86_64__) && !defined(RDTSC_AVAILABLE)
+#if (defined(__i386__) || defined(__x86_64__)) && !defined(__DJGPP__) && !defined(RDTSC_AVAILABLE)
uint64 ottd_rdtsc()
{
uint32 high, low;