aboutsummaryrefslogtreecommitdiff
path: root/lib/netrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/netrc.c')
-rw-r--r--lib/netrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netrc.c b/lib/netrc.c
index a543c34e2..a5dc8f408 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -33,7 +33,7 @@
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
-#ifdef VMS
+#ifdef __VMS
#include <unixlib.h>
#endif
@@ -117,7 +117,7 @@ int Curl_parsenetrc(const char *host,
struct passwd *pw;
pw= getpwuid(geteuid());
if(pw) {
-#ifdef VMS
+#ifdef __VMS
home = decc_translate_vms(pw->pw_dir);
#else
home = pw->pw_dir;