summaryrefslogtreecommitdiff
path: root/EXTERN.h
diff options
context:
space:
mode:
Diffstat (limited to 'EXTERN.h')
-rw-r--r--EXTERN.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/EXTERN.h b/EXTERN.h
index dedd37958c..5741fbfaa4 100644
--- a/EXTERN.h
+++ b/EXTERN.h
@@ -15,12 +15,18 @@
*/
#undef EXT
#undef dEXT
+#undef EXTCONST
+#undef dEXTCONST
#if defined(VMS) && !defined(__GNUC__)
# define EXT globalref
# define dEXT globaldef {"$GLOBAL_RW_VARS"} noshare
+# define EXTCONST globalref
+# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
# define EXT extern
# define dEXT
+# define EXTCONST extern const
+# define dEXTCONST const
#endif
#undef INIT