EstervQrCode 1.1.1
Library for qr code manipulation
exception_ptr.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 
5 #ifndef OPENCV_CORE_DETAILS_EXCEPTION_PTR_H
6 #define OPENCV_CORE_DETAILS_EXCEPTION_PTR_H
7 
8 #ifndef CV__EXCEPTION_PTR
9 # if defined(__ANDROID__) && defined(ATOMIC_INT_LOCK_FREE) && ATOMIC_INT_LOCK_FREE < 2
10 # define CV__EXCEPTION_PTR 0 // Not supported, details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938
11 # else
12 # define CV__EXCEPTION_PTR 1
13 # endif
14 #endif
15 #ifndef CV__EXCEPTION_PTR
16 # define CV__EXCEPTION_PTR 0
17 #elif CV__EXCEPTION_PTR
18 # include <exception> // std::exception_ptr
19 #endif
20 
21 #endif // OPENCV_CORE_DETAILS_EXCEPTION_PTR_H