summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-06 06:31:55 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-06 06:31:55 +0000
commit4ea817c67acbb0637159d692922fa81954793ad9 (patch)
treed678fab0fb3d32ff89900154847a56a3c59e0a55 /win32/perlhost.h
parent3b2903621aacf4b1cc9b9d99f9a25167b486b91f (diff)
downloadperl-4ea817c67acbb0637159d692922fa81954793ad9.tar.gz
vendorlib support for Windows; regen win32/config*
p4raw-id: //depot/perl@5574
Diffstat (limited to 'win32/perlhost.h')
-rw-r--r--win32/perlhost.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index a3f4c28350..02b9cb4bc4 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -17,8 +17,9 @@
#if !defined(PERL_OBJECT)
START_EXTERN_C
#endif
-extern char * g_win32_get_privlib(char *pl);
-extern char * g_win32_get_sitelib(char *pl);
+extern char * g_win32_get_privlib(const char *pl);
+extern char * g_win32_get_sitelib(const char *pl);
+extern char * g_win32_get_vendorlib(const char *pl);
extern char * g_getlogin(void);
extern int do_spawn2(char *cmd, int exectype);
#if !defined(PERL_OBJECT)
@@ -475,17 +476,23 @@ PerlEnvOsId(struct IPerlEnv* piPerl)
}
char*
-PerlEnvLibPath(struct IPerlEnv* piPerl, char *pl)
+PerlEnvLibPath(struct IPerlEnv* piPerl, const char *pl)
{
return g_win32_get_privlib(pl);
}
char*
-PerlEnvSiteLibPath(struct IPerlEnv* piPerl, char *pl)
+PerlEnvSiteLibPath(struct IPerlEnv* piPerl, const char *pl)
{
return g_win32_get_sitelib(pl);
}
+char*
+PerlEnvVendorLibPath(struct IPerlEnv* piPerl, const char *pl)
+{
+ return g_win32_get_vendorlib(pl);
+}
+
void
PerlEnvGetChildIO(struct IPerlEnv* piPerl, child_IO_table* ptr)
{
@@ -506,6 +513,7 @@ struct IPerlEnv perlEnv =
PerlEnvOsId,
PerlEnvLibPath,
PerlEnvSiteLibPath,
+ PerlEnvVendorLibPath,
PerlEnvGetChildIO,
};