Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
5d26efca
Commit
5d26efca
authored
Jun 30, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try fixing previous atomic header commit
parent
406f697d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
include/vlc_atomic.h
include/vlc_atomic.h
+5
-3
No files found.
include/vlc_atomic.h
View file @
5d26efca
...
@@ -26,9 +26,11 @@
...
@@ -26,9 +26,11 @@
* Atomic operations do not require locking, but they are not very powerful.
* Atomic operations do not require locking, but they are not very powerful.
*/
*/
/* Clang version < 7 lacks the stdatomic.h header but supports atomics */
/* Clang older versions support atomics but lacks the stdatomic.h header */
#if defined(__clang__) && __clang_major__ >= 4 && !__has_include(<stdatomic.h>)
#if defined(__clang__)
# if !defined(__has_include) || !__has_include(<stdatomic.h>)
# define __STDC_NO_ATOMICS__ 1
# define __STDC_NO_ATOMICS__ 1
# endif
#endif
#endif
# ifndef __cplusplus
# ifndef __cplusplus
...
...
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