#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifdef WITH_ILP
+
#include "becopyilp_t.h"
#define DEBUG_LVL 1
int co_solve_ilp1(copy_opt_t *co, double time_limit) {
return 1;
}
+
+#else /* WITH_ILP */
+
+static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
+}
+
+#endif /* WITH_ILP */
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifdef WITH_ILP
+
#include <bitset.h>
#include "pdeq.h"
/* check for forbidden interferences */
len = pdeq_len(path);
curr_path = alloca(len * sizeof(*curr_path));
- pdeq_copyl(path, curr_path);
+ pdeq_copyl(path, (const void **)curr_path);
for (i=1; i<len; ++i)
if (be_ifg_connected(ifg, irn, curr_path[i]))
return sol_state == lpp_optimal;
}
+
+#else /* WITH_ILP */
+
+static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
+}
+
+#endif /* WITH_ILP */