summaryrefslogtreecommitdiff
path: root/os_timer.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-22 15:06:27 +0000
committerDarkvater <darkvater@openttd.org>2006-12-22 15:06:27 +0000
commit458eb02678f7a6ce7437a1f9029cd369c3c2922f (patch)
tree58733aada39980fe5736fb193609b225cc972c3f /os_timer.c
parentb07b38d873692a58f737914436559372a735e658 (diff)
downloadopenttd-458eb02678f7a6ce7437a1f9029cd369c3c2922f.tar.xz
(svn r7548) -Codechange: Some MorphOS changes to get OpenTTD compiled, packaged (tokai)
Diffstat (limited to 'os_timer.c')
-rw-r--r--os_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os_timer.c b/os_timer.c
index efc45c29b..e2a96e8f9 100644
--- a/os_timer.c
+++ b/os_timer.c
@@ -40,7 +40,7 @@ uint64 _rdtsc(void)
#endif
/* rdtsc for PPC which has this not */
-#if defined(__POWERPC__) && !defined(RDTSC_AVAILABLE)
+#if (defined(__POWERPC__) || defined(__powerpc__)) && !defined(RDTSC_AVAILABLE)
uint64 _rdtsc(void)
{
uint32 high = 0, high2 = 0, low;