Skip to content
Snippets Groups Projects
Commit 0f967bf3a5de authored by Julien Cristau's avatar Julien Cristau
Browse files

Fix build against gecode 4.0.0

Looks like they changed enums to functions.

Closes #159002
parent 395b8ad2228c
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,11 @@
#define convexHull convex
#endif
#if GE_VERSION >= PM_VERSION(4, 0, 0)
#define INT_VAR_NONE INT_VAR_NONE()
#define INT_VAL_MIN INT_VAL_MIN()
#endif
using namespace std;
using namespace Gecode;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment