# HG changeset patch # User Alpar Juttner # Date 1404909696 -7200 # Node ID 5de6a70446f6ed13d456d1df8d0bfd4085bcf2af # Parent 1552352f97987f8fea7482cb144ba23cd5466484 Fix buggy include logic in lemon/lp.h (#503) diff -r 1552352f9798 -r 5de6a70446f6 lemon/lp.h --- a/lemon/lp.h Wed Jul 09 14:40:32 2014 +0200 +++ b/lemon/lp.h Wed Jul 09 14:41:36 2014 +0200 @@ -22,15 +22,19 @@ #include -#ifdef LEMON_HAVE_GLPK +#if LEMON_DEFAULT_LP == _LEMON_GLPK || LEMON_DEFAULT_MIP == _LEMON_GLPK #include -#elif LEMON_HAVE_CPLEX +#endif +#if LEMON_DEFAULT_LP == _LEMON_CPLEX || LEMON_DEFAULT_MIP == _LEMON_CPLEX #include -#elif LEMON_HAVE_SOPLEX +#endif +#if LEMON_DEFAULT_LP == _LEMON_SOPLEX #include -#elif LEMON_HAVE_CLP +#endif +#if LEMON_DEFAULT_LP == _LEMON_CLP #include -#elif LEMON_HAVE_CBC +#endif +#if LEMON_DEFAULT_MIP == _LEMON_CBC #include #endif