Mercurial > hg > octave-lojdl
changeset 2125:5049a300eee0
[project @ 1996-05-12 08:37:52 by jwe]
author | jwe |
---|---|
date | Sun, 12 May 1996 08:40:01 +0000 |
parents | 97a566037a75 |
children | d5f574877f59 |
files | aclocal.m4 liboctave/sun-utils.cc |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/aclocal.m4 +++ b/aclocal.m4 @@ -323,7 +323,7 @@ return (! forsub (s, &d, len)); #endif } -#ifdef sun +#if defind (sun) || defined (linux) int MAIN_ () { return 0; } #endif EOF
--- a/liboctave/sun-utils.cc +++ b/liboctave/sun-utils.cc @@ -20,13 +20,13 @@ */ -#ifdef sun +#if defined (sun) || defined (linux) #include <cassert> // I think that this is really only needed if linking to Fortran -// compiled libraries on a Sun. It should never be called. -// There should probably be a sysdep.cc file, eh? +// compiled libraries on a Sun. It also seems to be needed on Linux +// systems with g77. It should never be called. extern "C" {