From: Nicholas Clark Date: Thu, 6 Jun 2013 10:51:58 +0000 (+0200) Subject: On Win32, i_rpcsvcdbm should be 'undef' as there is no X-Git-Tag: upstream/5.20.0~3141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30f6094bc1f1cbd908daaa2a6c5759ad03bfecec;p=platform%2Fupstream%2Fperl.git On Win32, i_rpcsvcdbm should be 'undef' as there is no 3 canned Win32 config files had i_rpcsvcdbm as 'define', and consequently their generated headers had I_RPCSVC_DBM defined. This symbol means that a header file exists and should be included. However, it's only used by ODBM_File, which is not built on Win32, so nothing ever noticed the error. The errors in the header files seem to date from commit 0a753a764065f226 ("[inseparable changes from patch from perl5.003_23 to perl5.003_24]" in Jan 1997), which added the Win32 port. The config file, win32/config.w32, has i_rpcsvcdbm as 'undef' but the header file win32/config.h is inconsistent, with I_RPCSVC_DBM defined. The errors in the canned configs seem to date from commit 68dc074516a6859e ("[inseparable changes from match from perl-5.003_93 to perl-5.003_94]" in March 1997), where the value of i_rpcsvcdbm was changed in win32/config.w32 --- diff --git a/win32/config.ce b/win32/config.ce index 29071d5..950c313 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -655,7 +655,7 @@ i_poll='undef' i_prot='undef' i_pthread='undef' i_pwd='undef' -i_rpcsvcdbm='define' +i_rpcsvcdbm='undef' i_sfio='undef' i_sgtty='undef' i_shadow='undef' diff --git a/win32/config.gc b/win32/config.gc index 12b4296..418763b 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -667,7 +667,7 @@ i_poll='undef' i_prot='undef' i_pthread='undef' i_pwd='undef' -i_rpcsvcdbm='define' +i_rpcsvcdbm='undef' i_sfio='undef' i_sgtty='undef' i_shadow='undef' diff --git a/win32/config.vc b/win32/config.vc index 6723444..17d68c3 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -666,7 +666,7 @@ i_poll='undef' i_prot='undef' i_pthread='undef' i_pwd='undef' -i_rpcsvcdbm='define' +i_rpcsvcdbm='undef' i_sfio='undef' i_sgtty='undef' i_shadow='undef' diff --git a/win32/config_H.ce b/win32/config_H.ce index b67a0b0..1e129e2 100644 --- a/win32/config_H.ce +++ b/win32/config_H.ce @@ -651,7 +651,7 @@ * should be included. */ /*#define I_DBM /**/ -#define I_RPCSVC_DBM /**/ +/*#define I_RPCSVC_DBM / **/ /* I_DIRENT: * This symbol, if defined, indicates to the C program that it should diff --git a/win32/config_H.gc b/win32/config_H.gc index c303800..cc7fdf3 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -646,7 +646,7 @@ * should be included. */ /*#define I_DBM / **/ -#define I_RPCSVC_DBM /**/ +/*#define I_RPCSVC_DBM / **/ /* I_DLFCN: * This symbol, if defined, indicates that exists and should diff --git a/win32/config_H.vc b/win32/config_H.vc index 2adc13a..b0726a4 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -646,7 +646,7 @@ * should be included. */ /*#define I_DBM / **/ -#define I_RPCSVC_DBM /**/ +/*#define I_RPCSVC_DBM / **/ /* I_DLFCN: * This symbol, if defined, indicates that exists and should