Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
497d0fd2
Commit
497d0fd2
authored
Nov 10, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: OSSpinLock deprecation warning
parent
21167b1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
system.cpp
modules/core/src/system.cpp
+9
-0
No files found.
modules/core/src/system.cpp
View file @
497d0fd2
...
...
@@ -908,6 +908,11 @@ int _interlockedExchangeAdd(int* addr, int delta)
#elif defined __APPLE__
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
#include <libkern/OSAtomic.h>
struct
Mutex
::
Impl
...
...
@@ -923,6 +928,10 @@ struct Mutex::Impl
int
refcount
;
};
#if defined(__clang__)
#pragma clang diagnostic pop
#endif
#elif defined __linux__ && !defined ANDROID && !defined __LINUXTHREADS_OLD__
struct
Mutex
::
Impl
...
...
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