|
From: Shigeharu T. <sh...@ie...> - 2010-02-18 01:21:25
|
shige 02/18 2010 ---------------- Sorry, I made a mistake. I wrote: | ----- From here ----- | --- src/term.c.ORG Thu Feb 18 10:01:04 2010 | +++ src/term.c Thu Feb 18 09:57:17 2010 | @@ -106,6 +106,10 @@ | # endif /* MSC */ | #endif /* _Windows */ | | +#ifdef __sun | +# #define trunc(x) rint(x) | +#endif | + | static int termcomp __PROTO((const generic * a, const generic * b)); | | /* Externally visible variables */ | ----- To here ----- Correct patch is the following: ----- From here ----- --- src/term.c.ORG Thu Feb 18 10:01:04 2010 +++ src/term.c Thu Feb 18 09:57:17 2010 @@ -106,6 +106,10 @@ # endif /* MSC */ #endif /* _Windows */ +#ifdef __sun +# define trunc(x) rint(x) +#endif + static int termcomp __PROTO((const generic * a, const generic * b)); /* Externally visible variables */ ----- To here ----- +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@ie... TEL(&FAX): +81-257-22-8161 +========================================================+ |