Fix glp_prob definition (#286)
authorBalazs Dezso <deba@inf.elte.hu>
Thu, 07 May 2009 11:53:49 +0200
changeset 648a8dfe89b7719
parent 642 e01957e96c67
child 651 682941948726
Fix glp_prob definition (#286)
lemon/glpk.h
     1.1 --- a/lemon/glpk.h	Wed Apr 29 19:22:14 2009 +0100
     1.2 +++ b/lemon/glpk.h	Thu May 07 11:53:49 2009 +0200
     1.3 @@ -26,9 +26,10 @@
     1.4  #include <lemon/lp_base.h>
     1.5  
     1.6  // forward declaration
     1.7 -#ifndef _GLP_PROB
     1.8 +#if !defined _GLP_PROB && !defined GLP_PROB
     1.9  #define _GLP_PROB
    1.10 -typedef struct { double _prob; } glp_prob;
    1.11 +#define GLP_PROB
    1.12 +typedef struct { double _opaque_prob; } glp_prob;
    1.13  /* LP/MIP problem object */
    1.14  #endif
    1.15