From Frank Lichtenheld, compile fix to Linux powerpc build.

This commit is contained in:
Robert Osfield
2004-10-18 18:59:05 +00:00
parent ebab2ccab4
commit 2047ac250f
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ class SG_EXPORT Timer {
#include <sys/time.h>
#ifdef __ia64
#if defined(__ia64) || defined(__x86_64__) || defined(__powerpc)
#define CLK(x) ((x)=0)
#else
#define CLK(x) __asm__ volatile (".byte 0x0f, 0x31" : "=A" (x))

View File

@@ -160,7 +160,7 @@ const Timer* Timer::instance()
Timer::Timer()
{
#if defined(__ia64) || defined(__x86_64__)
#if defined(__ia64) || defined(__x86_64__) || defined(__powerpc)
_useStandardClock = true;
#else
_useStandardClock = true;