VMS specific preprocessor symbol checking adjustments
authorYang Tse <yangsita@gmail.com>
Wed, 30 Dec 2009 17:59:56 +0000 (17:59 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 30 Dec 2009 17:59:56 +0000 (17:59 +0000)
setup_once.h

index f7d45a2..95722b2 100644 (file)
@@ -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 *