>>>> "Martin" == Martin Buchholz
<martin(a)xemacs.org> writes: 
    Martin> There may be a few more places where this sort of thing will be
    Martin> necessary, but the compiler will be better at finding them than I will.
>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes: 
    APA> ..\src\sysdep.c(215) : warning C4013: 'fcntl' undefined; assuming 
    Martin> extern returning int
    APA> ..\src\sysdep.c(215) : error C2065: 'F_SETFL' : undeclared identifier
    Martin> 1998-12-07  Martin Buchholz  <martin(a)xemacs.org>
    Martin>         * sysdep.c (set_descriptor_non_blocking):
    Martin>         Since O_NONBLOCK is now always #defined, make use of fcntl
    Martin>         conditional on F_SETFL being defined.
Hello Martin,
is this the authoritative way to conditionalize usage of
fcntl(fd, F_SETFL, ...) in 21.2?
Adrian
    Martin> --- src/sysdep.c.old
    Martin> +++ src/sysdep.c
    Martin> @@ -212,7 +212,9 @@
    Martin>    }
    Martin>  #endif
    Martin> +#ifdef F_SETFL
    Martin>    fcntl (fd, F_SETFL, O_NONBLOCK);
    Martin> +#endif
    Martin>  }
    Martin>  #if defined (NO_SUBPROCESSES)