VMS specific preprocessor symbol checking adjustments

This commit is contained in:
Yang Tse
2009-12-30 17:59:56 +00:00
parent 0dde9056d7
commit 3184a91ec8
27 changed files with 47 additions and 47 deletions

View File

@@ -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