summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-12-30 17:59:56 (GMT)
committerYang Tse <yangsita@gmail.com>2009-12-30 17:59:56 (GMT)
commit004c2e34004fcb12b1c33071efee8a7c4bfc8591 (patch)
tree306a329a64ee75b550712daeff5a6d5889c54642 /setup_once.h
parent92dcb407d610acf6584cd2e841fb778bb33336a8 (diff)
downloadc-ares-004c2e34004fcb12b1c33071efee8a7c4bfc8591.zip
c-ares-004c2e34004fcb12b1c33071efee8a7c4bfc8591.tar.gz
c-ares-004c2e34004fcb12b1c33071efee8a7c4bfc8591.tar.bz2
VMS specific preprocessor symbol checking adjustments
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_once.h b/setup_once.h
index f7d45a2..95722b2 100644
--- a/setup_once.h
+++ b/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 *