forked from bartvdbraak/blender
Multiline string literals are deprecated in gcc3.3, fixes build error
This commit is contained in:
parent
a0430d0d43
commit
d81fcf73ff
10
extern/ode/dist/ode/src/timer.cpp
vendored
10
extern/ode/dist/ode/src/timer.cpp
vendored
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user