Mercurial > hg > octave-avbm
changeset 6287:3e59a46f256c
[project @ 2007-02-08 19:08:33 by jwe]
author | jwe |
---|---|
date | Thu, 08 Feb 2007 19:08:34 +0000 |
parents | c6a7b0453f9a |
children | 0c6d07b9240e |
files | src/ChangeLog src/DLD-FUNCTIONS/__glpk__.cc |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-02-08 Michael Goffioul <michael.goffioul@swing.be> + + * 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 <jwe@octave.org> * defaults.cc (subst_octave_home):
--- a/src/DLD-FUNCTIONS/__glpk__.cc +++ b/src/DLD-FUNCTIONS/__glpk__.cc @@ -40,6 +40,15 @@ extern "C" { #include <glpk.h> +#ifndef _GLPLIB_H +#include <glplib.h> +#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