Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
d81fcf73
Commit
d81fcf73
authored
21 years ago
by
Wouter van Heyst
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extern/ode/dist/ode/src/timer.cpp
+5
-5
5 additions, 5 deletions
extern/ode/dist/ode/src/timer.cpp
with
5 additions
and
5 deletions
extern/ode/dist/ode/src/timer.cpp
+
5
−
5
View file @
d81fcf73
...
...
@@ -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"
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment