diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-02 16:48:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-02 16:48:26 +0000 |
commit | 8fa7f3676ed75809365905727fbae97dc8767f29 (patch) | |
tree | 2c626750a9a8493a188833eb82d96b24e79fa03f /util.c | |
parent | a126002e7fdcd66f0996dbe9b5b1c2d7960cf31b (diff) | |
download | perl-8fa7f3676ed75809365905727fbae97dc8767f29.tar.gz |
-Wall cleanup continues.
p4raw-id: //depot/perl@10392
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -3972,28 +3972,28 @@ Perl_my_fflush_all(pTHX) extern void _fwalk(int (*)(FILE *)); _fwalk(&fflush); return 0; -# else - long open_max = -1; +# else # if defined(FFLUSH_ALL) && defined(HAS_STDIO_STREAM_ARRAY) + long open_max = -1; # ifdef PERL_FFLUSH_ALL_FOPEN_MAX open_max = PERL_FFLUSH_ALL_FOPEN_MAX; # else -# if defined(HAS_SYSCONF) && defined(_SC_OPEN_MAX) +# if defined(HAS_SYSCONF) && defined(_SC_OPEN_MAX) open_max = sysconf(_SC_OPEN_MAX); -# else -# ifdef FOPEN_MAX +# else +# ifdef FOPEN_MAX open_max = FOPEN_MAX; -# else -# ifdef OPEN_MAX +# else +# ifdef OPEN_MAX open_max = OPEN_MAX; -# else -# ifdef _NFILE +# else +# ifdef _NFILE open_max = _NFILE; +# endif +# endif # endif # endif # endif -# endif -# endif if (open_max > 0) { long i; for (i = 0; i < open_max; i++) |