$NetBSD: patch-ac,v 1.4 2002/05/03 23:32:13 jtb Exp $ --- tela.C.orig Tue Sep 4 13:57:20 2001 +++ tela.C Wed May 1 16:00:57 2002 @@ -13,7 +13,7 @@ #include "d.y.h" #include "d.l.h" #include "version.H" -#include +//#include //#include #if HAVE_IEEE754_H == 1 # include @@ -31,7 +31,9 @@ #include extern "C" { -#include "readline/chardefs.h" +#ifndef whitespace +#define whitespace(c) (((c) == ' ') || ((c) == '\t')) +#endif extern Tchar *readline(...); extern Tchar **completion_matches(...); extern int rl_add_defun(...); @@ -45,9 +47,9 @@ // MAIN__ which is supposed to be the Fortran main program. Since we // do not have a Fortran main program here, we define it here. Hope // it doesn't conflict with anything else. -#ifdef LINUX +// #ifdef LINUX int MAIN__; -#endif +// #endif } char *VersionString = VERSION; @@ -220,8 +222,8 @@ return 0.0; } #else - real zero = 0.0; - real result = zero/zero; + Treal zero = 0.0; + Treal result = zero/zero; return result; #endif }