Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>2003-07-05 15:27:50 +0400
committerWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>2003-07-05 15:27:50 +0400
commitd81fcf73ffe87f8f653b88e5ae07dd10e7179fa6 (patch)
tree727cacd8782644fae149361d5d560e09567be8a8 /extern
parenta0430d0d43e66ff71e0d0f1bf91be7757ebd5d93 (diff)
Multiline string literals are deprecated in gcc3.3, fixes build error
Diffstat (limited to 'extern')
-rw-r--r--extern/ode/dist/ode/src/timer.cpp10
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");
}