Try to fix opencv bug with EXIT

This commit is contained in:
Maxime Gimeno 2018-05-31 13:09:07 +02:00
parent c79f1424fd
commit 850c9fd576
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@
#ifndef 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 {
enum Failure_behaviour { ABORT, EXIT, EXIT_WITH_SUCCESS, CONTINUE,