Skip to content
Snippets Groups Projects
Commit d81fcf73 authored by Wouter van Heyst's avatar Wouter van Heyst
Browse files

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

parent a0430d0d
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment