diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-06-06 12:51:58 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-06-10 15:26:59 +0200 |
commit | 30f6094bc1f1cbd908daaa2a6c5759ad03bfecec (patch) | |
tree | 31f5a4639f571c63e3a99ad6b67f5f05d7996bca /win32 | |
parent | 042e7a25dcc77f68c10985712070dbc514367996 (diff) | |
download | perl-30f6094bc1f1cbd908daaa2a6c5759ad03bfecec.tar.gz |
On Win32, i_rpcsvcdbm should be 'undef' as there is no <rpcsvc/dbm.h>
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 <rpcsvc/dbm.h> 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/config.ce | 2 | ||||
-rw-r--r-- | win32/config.gc | 2 | ||||
-rw-r--r-- | win32/config.vc | 2 | ||||
-rw-r--r-- | win32/config_H.ce | 2 | ||||
-rw-r--r-- | win32/config_H.gc | 2 | ||||
-rw-r--r-- | win32/config_H.vc | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/win32/config.ce b/win32/config.ce index 29071d5cd7..950c31341b 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 12b4296c81..418763bebc 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 6723444cc5..17d68c3d11 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 b67a0b0362..1e129e2873 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 c30380002c..cc7fdf3de2 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 <dlfcn.h> exists and should diff --git a/win32/config_H.vc b/win32/config_H.vc index 2adc13a66e..b0726a41fa 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 <dlfcn.h> exists and should |