summaryrefslogtreecommitdiff
path: root/gcc/config/vms/vms.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-11-07 10:17:44 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2011-11-07 10:17:44 +0000
commitc750e76857add05d481a68df00bf75d5f5afc419 (patch)
treeddbc1e6dd1a5280e98e654013141bf939c74634c /gcc/config/vms/vms.h
parentba89fcb67207e6d364910572ab98ba165f5ad7dd (diff)
downloadgcc-c750e76857add05d481a68df00bf75d5f5afc419.tar.gz
config.gcc (*-*-*vms*): Set c_target_objs, cxx_target_objs.
2011-11-07 Tristan Gingold <gingold@adacore.com> * config.gcc (*-*-*vms*): Set c_target_objs, cxx_target_objs. * config/vms/t-vms: Add vms-c.o rule. * config/vms/vms-c.c: New file. * config/vms/vms-protos.h (vms_c_register_pragma): New prototype. * config/vms/vms.h (REGISTER_TARGET_PRAGMAS): Define. From-SVN: r181079
Diffstat (limited to 'gcc/config/vms/vms.h')
-rw-r--r--gcc/config/vms/vms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/vms/vms.h b/gcc/config/vms/vms.h
index a69c7c7d8b8..0da9d85a89c 100644
--- a/gcc/config/vms/vms.h
+++ b/gcc/config/vms/vms.h
@@ -34,6 +34,9 @@ along with GCC; see the file COPYING3. If not see
} \
} while (0)
+/* Tell compiler we want to support VMS pragmas */
+#define REGISTER_TARGET_PRAGMAS() vms_c_register_pragma ()
+
/* By default, allow $ to be part of an identifier. */
#define DOLLARS_IN_IDENTIFIERS 2