summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-21 08:06:06 +0100
committerNicholas Clark <nick@ccl4.org>2009-02-21 22:13:07 +0100
commit04c9eeccd3e478befe53fb07abf3922d22fd9d69 (patch)
treedc6b7f30765018d4b585ec1d9741f935059f7bee /perl.c
parentec4d613228615e5a9cc9bc190eb78ec02aadcda0 (diff)
downloadperl-04c9eeccd3e478befe53fb07abf3922d22fd9d69.tar.gz
NetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 34f95ded4b..487cc3857d 100644
--- a/perl.c
+++ b/perl.c
@@ -4238,7 +4238,11 @@ S_init_perllib(pTHX_ U32 old_vers)
if (s)
incpush_use_sep(s, len, INCPUSH_ADD_SUB_DIRS|INCPUSH_CAN_RELOCATE);
#else
+# ifdef NETWARE
+ S_incpush_use_sep(aTHX_ PRIVLIB_EXP, 0, INCPUSH_CAN_RELOCATE);
+# else
S_incpush_use_sep(aTHX_ STR_WITH_LEN(PRIVLIB_EXP), INCPUSH_CAN_RELOCATE);
+# endif
#endif
}