aboutsummaryrefslogtreecommitdiff
path: root/ares/setup_once.h
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 /ares/setup_once.h
parent0dde9056d7c21dd9ad0afcb8fe2f4ec2408acf10 (diff)
VMS specific preprocessor symbol checking adjustments
Diffstat (limited to 'ares/setup_once.h')
-rw-r--r--ares/setup_once.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h
index f7d45a232..95722b2b7 100644
--- a/ares/setup_once.h
+++ b/ares/setup_once.h
@@ -415,7 +415,7 @@ typedef int sig_atomic_t;
* Actually use __32_getpwuid() on 64-bit VMS builds for getpwuid()
*/
-#if defined(VMS) && \
+#if defined(__VMS) && \
defined(__INITIAL_POINTER_SIZE) && (__INITIAL_POINTER_SIZE == 64)
#define getpwuid __32_getpwuid
#endif
@@ -425,7 +425,7 @@ typedef int sig_atomic_t;
* Macro argv_item_t hides platform details to code using it.
*/
-#ifdef VMS
+#ifdef __VMS
#define argv_item_t __char_ptr32
#else
#define argv_item_t char *