mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:33:31 +03:00
VMS specific preprocessor symbol checking adjustments
This commit is contained in:
parent
0dde9056d7
commit
3184a91ec8
27 changed files with 47 additions and 47 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue