From: Jarkko Hietaniemi Date: Mon, 28 Feb 2000 17:31:19 +0000 (+0000) Subject: Put back madvise lost because of a typo. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e8c3fdea51149600e0609399784ddcc038b4053;p=p5sagit%2Fp5-mst-13.2.git Put back madvise lost because of a typo. p4raw-id: //depot/cfgperl@5326 --- diff --git a/Configure b/Configure index 315ada8..452b4fb 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Mon Feb 28 08:28:06 EET 2000 [metaconfig 3.0 PL70] +# Generated on Mon Feb 28 19:17:18 EET 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- #define LONGLONGSIZE $longlongsize /**/ #endif +/* HAS_MADVISE: + * This symbol, if defined, indicates that the madvise system call is + * available to map a file into memory. + */ +#$d_madvise HAS_MADVISE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. diff --git a/perl.h b/perl.h index 7d42b0f..bd776d7 100644 --- a/perl.h +++ b/perl.h @@ -3268,7 +3268,7 @@ typedef struct am_table_short AMTS; HAS_MMAP HAS_MPROTECT HAS_MSYNC - HAS_MADVSISE + HAS_MADVISE HAS_MUNMAP I_SYSMMAN Mmap_t diff --git a/win32/config.bc b/win32/config.bc index 03aaec5..c509683 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -199,6 +199,7 @@ d_longdbl='define' d_longlong='undef' d_lseekproto='define' d_lstat='undef' +d_madvise='undef' d_mblen='define' d_mbstowcs='define' d_mbtowc='define' diff --git a/win32/config.gc b/win32/config.gc index 1178d9e..d00cd45 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -199,6 +199,7 @@ d_longdbl='define' d_longlong='undef' d_lseekproto='define' d_lstat='undef' +d_madvise='undef' d_mblen='define' d_mbstowcs='define' d_mbtowc='define' diff --git a/win32/config.vc b/win32/config.vc index a138172..7011989 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -199,6 +199,7 @@ d_longdbl='define' d_longlong='undef' d_lseekproto='define' d_lstat='undef' +d_madvise='undef' d_mblen='define' d_mbstowcs='define' d_mbtowc='define'