summaryrefslogtreecommitdiff
path: root/INTERN.h
diff options
context:
space:
mode:
Diffstat (limited to 'INTERN.h')
-rw-r--r--INTERN.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/INTERN.h b/INTERN.h
index 22e42c5b97..6ce0367dee 100644
--- a/INTERN.h
+++ b/INTERN.h
@@ -18,6 +18,10 @@
#undef EXTCONST
#undef dEXTCONST
#if defined(VMS) && !defined(__GNUC__)
+ /* Suppress portability warnings from DECC for VMS-specific extensions */
+# ifdef __DECC
+# pragma message disable (GLOBALEXT,NOSHAREEXT,READONLYEXT)
+# endif
# define EXT globaldef {"$GLOBAL_RW_VARS"} noshare
# define dEXT globaldef {"$GLOBAL_RW_VARS"} noshare
# define EXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly