diff options
author | Yang Tse <yangsita@gmail.com> | 2009-12-30 17:59:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-12-30 17:59:56 +0000 |
commit | 3184a91ec86b2f35f16a8e11e2daa03fac8e91b6 (patch) | |
tree | 1f9a39c4001243eae8b7b45f98951502a51fea0d /lib/getenv.c | |
parent | 0dde9056d7c21dd9ad0afcb8fe2f4ec2408acf10 (diff) | |
download | curl-3184a91ec86b2f35f16a8e11e2daa03fac8e91b6.tar.gz |
VMS specific preprocessor symbol checking adjustments
Diffstat (limited to 'lib/getenv.c')
-rw-r--r-- | lib/getenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getenv.c b/lib/getenv.c index 73fece24d..56c2cb771 100644 --- a/lib/getenv.c +++ b/lib/getenv.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include <string.h> -#ifdef VMS +#ifdef __VMS #include <unixlib.h> #endif @@ -51,7 +51,7 @@ char *GetEnv(const char *variable) return (env[0] != '\0')?strdup(env):NULL; #else char *env = getenv(variable); -#ifdef VMS +#ifdef __VMS if(env && strcmp("HOME",variable) == 0) env = decc_translate_vms(env); #endif |