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
24c0b613
Commit
24c0b613
authored
Dec 05, 2009
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix my_atomic.h on Solaris, do not redefine macros already defined
in include/atomic/solaris.h
parent
c9ac06b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
include/my_atomic.h
include/my_atomic.h
+2
-0
No files found.
include/my_atomic.h
View file @
24c0b613
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
#include "atomic/nolock.h"
#include "atomic/nolock.h"
#endif
#endif
#ifndef MY_ATOMICS_MADE
#ifndef make_atomic_cas_body
#ifndef make_atomic_cas_body
/* 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"
...
@@ -277,6 +278,7 @@ make_atomic_store(ptr)
...
@@ -277,6 +278,7 @@ make_atomic_store(ptr)
#undef make_atomic_load_body
#undef make_atomic_load_body
#undef make_atomic_store_body
#undef make_atomic_store_body
#undef make_atomic_fas_body
#undef make_atomic_fas_body
#endif
/* MY_ATOMICS_MADE */
#undef intptr
#undef intptr
/*
/*
...
...
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