# HG changeset patch # User jwe # Date 1170961714 0 # Node ID 3e59a46f256cba7827bc0e89503bbba7e2d52802 # Parent c6a7b0453f9a87d714d03310cac01b5de279787d [project @ 2007-02-08 19:08:33 by jwe] diff -r c6a7b0453f9a -r 3e59a46f256c src/ChangeLog --- a/src/ChangeLog Thu Feb 08 19:04:38 2007 +0000 +++ b/src/ChangeLog Thu Feb 08 19:08:34 2007 +0000 @@ -1,3 +1,9 @@ +2007-02-08 Michael Goffioul + + * DLD-FUNCTIONS/__glpk__.cc: Include glplib.h if glpk.h does not. + Provide definitions for lib_set_fault_hook and lib_set_print_hook + if they are not defined. + 2007-02-07 John W. Eaton * defaults.cc (subst_octave_home): diff -r c6a7b0453f9a -r 3e59a46f256c src/DLD-FUNCTIONS/__glpk__.cc --- a/src/DLD-FUNCTIONS/__glpk__.cc Thu Feb 08 19:04:38 2007 +0000 +++ b/src/DLD-FUNCTIONS/__glpk__.cc Thu Feb 08 19:08:34 2007 +0000 @@ -40,6 +40,15 @@ extern "C" { #include +#ifndef _GLPLIB_H +#include +#endif +#ifndef lib_set_fault_hook +#define lib_set_fault_hook lib_fault_hook +#endif +#ifndef lib_set_print_hook +#define lib_set_print_hook lib_print_hook +#endif } #define NIntP 17