mirror of https://github.com/CGAL/cgal
Try to fix opencv bug with EXIT
This commit is contained in:
parent
c79f1424fd
commit
850c9fd576
|
|
@ -28,6 +28,12 @@
|
||||||
#ifndef CGAL_ASSERTIONS_BEHAVIOUR_H
|
#ifndef CGAL_ASSERTIONS_BEHAVIOUR_H
|
||||||
#define CGAL_ASSERTIONS_BEHAVIOUR_H
|
#define CGAL_ASSERTIONS_BEHAVIOUR_H
|
||||||
|
|
||||||
|
// workaround against the definition of EXIT in <opencv2/core/internal.hpp>
|
||||||
|
#ifdef EXIT
|
||||||
|
# undef EXIT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
enum Failure_behaviour { ABORT, EXIT, EXIT_WITH_SUCCESS, CONTINUE,
|
enum Failure_behaviour { ABORT, EXIT, EXIT_WITH_SUCCESS, CONTINUE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue