projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added another test file
[libfirm]
/
ir
/
be
/
becopyilp1.c
diff --git
a/ir/be/becopyilp1.c
b/ir/be/becopyilp1.c
index
2a0aca4
..
77ae74a
100644
(file)
--- a/
ir/be/becopyilp1.c
+++ b/
ir/be/becopyilp1.c
@@
-13,6
+13,8
@@
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifdef WITH_ILP
+
#include "becopyilp_t.h"
#define DEBUG_LVL 1
#include "becopyilp_t.h"
#define DEBUG_LVL 1
@@
-33,3
+35,10
@@
static void ilp1_apply(ilp_env_t *ienv) {
int co_solve_ilp1(copy_opt_t *co, double time_limit) {
return 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 */