summaryrefslogtreecommitdiff
path: root/perlenv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-03 01:26:09 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-03 01:26:09 +0000
commit00dc2f4f23da07658d2634f904ac3a098aaa4153 (patch)
tree70e408443b454ad52549f086f244101ab4c7098f /perlenv.h
parenta193d65404eecbf16bac86932344f43dcfdbcecd (diff)
downloadperl-00dc2f4f23da07658d2634f904ac3a098aaa4153.tar.gz
[asperl] add AS patch#15
p4raw-id: //depot/asperl@863
Diffstat (limited to 'perlenv.h')
-rw-r--r--perlenv.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/perlenv.h b/perlenv.h
index eb631a2dfb..07cce76e78 100644
--- a/perlenv.h
+++ b/perlenv.h
@@ -5,9 +5,12 @@
#include "ipenv.h"
-#define PerlEnv_putenv(str) piENV->Putenv((str), ErrorNo())
-#define PerlEnv_getenv(str) piENV->Getenv((str), ErrorNo())
-#define PerlEnv_lib_path piENV->LibPath
+#define PerlEnv_putenv(str) piENV->Putenv((str), ErrorNo())
+#define PerlEnv_getenv(str) piENV->Getenv((str), ErrorNo())
+#ifdef WIN32
+#define PerlEnv_lib_path(str) piENV->LibPath((str))
+#define PerlEnv_sitelib_path(str) piENV->SiteLibPath((str))
+#endif
#else
#define PerlEnv_putenv(str) putenv((str))
#define PerlEnv_getenv(str) getenv((str))