argus-2.0.0V -- compile problems on FreeBSD
Borja Marcos
borjam at sarenet.es
Wed Jan 31 10:27:46 EST 2001
Carter Bullard wrote:
>
> Well, no wonder this doesn't work.
>
> The assignment should be for FreeBSD:
>
> #if defined(FreeBSD)
> *stdout = *FILE;
> *stderr = *FILE;
> #else
> stdout = FILE;
> stderr = FILE;
> #endif
>
> does this work for anyone?
#ifdef __FreeBSD__
*stdout = *tmpfile;
*stderr = *tmpfile;
#else
stdout = tmpfile;
stderr = tmpfile;
#endif
(FREEBSD seems not to be defined anywhere)
Yes, it works.
Borja.
--
__________________________________________________________________
Borja Marcos * borjam at sarenet.es
Responsable de seguridad * Tel: +34 944209470
SARENET S.A. * Fax: +34 944209465
Parque Tecnologico, 103 *
48170 - Zamudio (Bizkaia) SPAIN *
__________________________________________________________________
More information about the argus
mailing list