Commit 19de675a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #11270 from alalek:parallel_for_exception_fix_android

parents 8ceb6f22 8dacbe75
......@@ -131,7 +131,9 @@
#ifndef CV__EXCEPTION_PTR
# ifdef CV_CXX11
# if defined(__ANDROID__) && defined(ATOMIC_INT_LOCK_FREE) && ATOMIC_INT_LOCK_FREE < 2
# define CV__EXCEPTION_PTR 0 // Not supported, details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938
# elif defined(CV_CXX11)
# define CV__EXCEPTION_PTR 1
# elif defined(CV_ICC)
# define CV__EXCEPTION_PTR 1
......@@ -145,7 +147,7 @@
#endif
#ifndef CV__EXCEPTION_PTR
# define CV__EXCEPTION_PTR 0
#else
#elif CV__EXCEPTION_PTR
# include <exception> // std::exception_ptr
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment