aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/vms.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-03-16 09:55:56 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2012-03-16 09:55:56 +0000
commit6ceb677f26951e8c06da7f565db05ce482a80f8a (patch)
treeec92c1c2ce8d94be3e26a29eede93df562606771 /gcc/config/ia64/vms.h
parent50a763ab474ddf0f9c2d3649c5a89fdb511d8ca7 (diff)
downloadgcc-6ceb677f26951e8c06da7f565db05ce482a80f8a.zip
gcc-6ceb677f26951e8c06da7f565db05ce482a80f8a.tar.gz
gcc-6ceb677f26951e8c06da7f565db05ce482a80f8a.tar.bz2
vms.h (TARGET_OS_CPP_BUILTINS): Define __CRTL_VER and __VMS_VER.
2012-03-16 Tristan Gingold <gingold@adacore.com> * config/vms/vms.h (TARGET_OS_CPP_BUILTINS): Define __CRTL_VER and __VMS_VER. * config/vms/vms-protos.h: Declare vms_c_get_crtl_ver and vms_c_get_vms_ver. * config/vms/vms-c.c (vms_c_get_crtl_ver, vms_c_get_vms_ver): New functions. * config/alpha/vms.h (VMS_DEFAULT_CRTL_VER) (VMS_DEFAULT_VMS_VER): Define. * config/ia64/vms.h (VMS_DEFAULT_CRTL_VER) (VMS_DEFAULT_VMS_VER): Define. From-SVN: r185462
Diffstat (limited to 'gcc/config/ia64/vms.h')
-rw-r--r--gcc/config/ia64/vms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/ia64/vms.h b/gcc/config/ia64/vms.h
index 0c02f8a..1908c47 100644
--- a/gcc/config/ia64/vms.h
+++ b/gcc/config/ia64/vms.h
@@ -157,3 +157,7 @@ STATIC func_ptr __CTOR_LIST__[1] \
/* IA64 VMS doesn't fully support COMDAT sections. */
#define SUPPORTS_ONE_ONLY 0
+
+/* Default values for _CRTL_VER and _VMS_VER. */
+#define VMS_DEFAULT_CRTL_VER 80300000
+#define VMS_DEFAULT_VMS_VER 80300000