Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
56d81f3b
Commit
56d81f3b
authored
Dec 19, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed solaris builds
parent
2e721895
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
include/my_atomic.h
include/my_atomic.h
+8
-0
No files found.
include/my_atomic.h
View file @
56d81f3b
...
@@ -69,8 +69,16 @@
...
@@ -69,8 +69,16 @@
#endif
#endif
#ifndef make_atomic_cas_body
#ifndef make_atomic_cas_body
/*
When implementing atomics using solaris.h we will end up here.
In this case we have already implemented all atomic functions
and no more work is needed, this is indicated by MY_ATOMICS_MADE
being defined but not make_atomic_cas_body.
*/
#ifndef MY_ATOMICS_MADE
/* nolock.h was not able to generate even a CAS function, fall back */
/* nolock.h was not able to generate even a CAS function, fall back */
#include "atomic/rwlock.h"
#include "atomic/rwlock.h"
#endif
#else
#else
/* define missing functions by using the already generated ones */
/* define missing functions by using the already generated ones */
#ifndef make_atomic_add_body
#ifndef make_atomic_add_body
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment