diff options
author | Wouter van Heyst <larstiq-bforge@larstiq.dyndns.org> | 2003-07-05 15:27:50 +0400 |
---|---|---|
committer | Wouter van Heyst <larstiq-bforge@larstiq.dyndns.org> | 2003-07-05 15:27:50 +0400 |
commit | d81fcf73ffe87f8f653b88e5ae07dd10e7179fa6 (patch) | |
tree | 727cacd8782644fae149361d5d560e09567be8a8 /extern/ode | |
parent | a0430d0d43e66ff71e0d0f1bf91be7757ebd5d93 (diff) |
Multiline string literals are deprecated in gcc3.3, fixes build error
Diffstat (limited to 'extern/ode')
-rw-r--r-- | extern/ode/dist/ode/src/timer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extern/ode/dist/ode/src/timer.cpp b/extern/ode/dist/ode/src/timer.cpp index 09e9c5f59b0..87cb9f6f2fe 100644 --- a/extern/ode/dist/ode/src/timer.cpp +++ b/extern/ode/dist/ode/src/timer.cpp @@ -106,9 +106,9 @@ double dTimerTicksPerSecond() static inline void getClockCount (unsigned long cc[2]) { - asm volatile (" - rdtsc - movl %%eax,(%%esi) + asm volatile ("\n\ + rdtsc\n\ + movl %%eax,(%%esi)\n\ movl %%edx,4(%%esi)" : : "S" (cc) : "%eax","%edx","cc","memory"); } @@ -116,8 +116,8 @@ static inline void getClockCount (unsigned long cc[2]) static inline void serialize() { - asm volatile (" - mov $0,%%eax + asm volatile ("\n\ + mov $0,%%eax\n\ cpuid" : : : "%eax","%ebx","%ecx","%edx","cc","memory"); } |