Re: SO_LINGER used when not HAVE_STRUCT_LINGER_L_LINGER
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC development <mc-devel gnome org>
- Subject: Re: SO_LINGER used when not HAVE_STRUCT_LINGER_L_LINGER
- Date: Thu, 25 May 2006 18:35:17 +0200
Hello Pavel,
On Thu, 2006-05-25 at 02:15 -0400, Pavel Roskin wrote:
> Nothing odd. HAVE_STRUCT_LINGER_L_LINGER means that there is structure
> linger with field l_linger. That field (and the whole structure) is not
> used if HAVE_STRUCT_LINGER_L_LINGER is not defined.
So you mean SO_LINGER can be defined although
HAVE_STRUCT_LINGER_L_LINGER is not?
> Put #ifdef SO_LINGER ... #endif around the code you quoted. Also do the
> same for the declaration.
And disable the call to setsockopt() altogether?
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]