summaryrefslogtreecommitdiff
path: root/win32/config_H.ce
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-20 20:09:16 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-20 20:16:12 +0000
commite6a0bbf8b4e00dca6da011b9cb1d8c949b3bfa1e (patch)
tree4fb59c91c234617af3526425a3b8123c2c5a2bab /win32/config_H.ce
parentfd2c5c6c3907b40a30d10beb189791226562c647 (diff)
downloadperl-e6a0bbf8b4e00dca6da011b9cb1d8c949b3bfa1e.tar.gz
Add a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
as we already know it, and use it in S_init_perllib() to save a strlen() in S_incpush_use_sep().
Diffstat (limited to 'win32/config_H.ce')
-rw-r--r--win32/config_H.ce4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/config_H.ce b/win32/config_H.ce
index f814437fea..90d4f404e1 100644
--- a/win32/config_H.ce
+++ b/win32/config_H.ce
@@ -3361,7 +3361,7 @@
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
#define PRIVLIB "\\Storage Card\\perl58m\\lib" /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
+#define PRIVLIB_EXP (win32_get_privlib(PERL_VERSION_STRING, NULL)) /**/
/* PTRSIZE:
* This symbol contains the size of a pointer, so that the C preprocessor
@@ -3492,7 +3492,7 @@
* be tacked onto this variable to generate a list of directories to search.
*/
#define SITELIB "\\Storage Card\\perl58m\\site\\lib" /**/
-#define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
+#define SITELIB_EXP (win32_get_sitelib(PERL_VERSION_STRING, NULL)) /**/
#define SITELIB_STEM "" /**/
/* Size_t_size: