diff options
Diffstat (limited to 'perlenv.h')
-rw-r--r-- | perlenv.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,9 +2,15 @@ #define H_PERLENV 1 #ifdef PERL_OBJECT + +#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 #else -#define PerlENV_putenv(str) putenv((str)) -#define PerlENV_getenv(str) getenv((str)) +#define PerlEnv_putenv(str) putenv((str)) +#define PerlEnv_getenv(str) getenv((str)) #endif /* PERL_OBJECT */ #endif /* Include guard */ |