summaryrefslogtreecommitdiff
path: root/lib/netrc.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-30 17:59:56 +0000
committerYang Tse <yangsita@gmail.com>2009-12-30 17:59:56 +0000
commit3184a91ec86b2f35f16a8e11e2daa03fac8e91b6 (patch)
tree1f9a39c4001243eae8b7b45f98951502a51fea0d /lib/netrc.c
parent0dde9056d7c21dd9ad0afcb8fe2f4ec2408acf10 (diff)
downloadcurl-3184a91ec86b2f35f16a8e11e2daa03fac8e91b6.tar.gz
VMS specific preprocessor symbol checking adjustments
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;