Multiline string literals are deprecated in gcc3.3, fixes build error

This commit is contained in:
Wouter van Heyst 2003-07-05 11:27:50 +00:00
parent a0430d0d43
commit d81fcf73ff

@ -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");
}