summaryrefslogtreecommitdiff
path: root/gcc/tradcpp.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-07 19:36:12 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-07 19:36:12 +0000
commitd34352df7a1c0b284e22b8927e15f3bddd0fd64c (patch)
tree078f2c8585c72d5af4a1a5515b2e9316197f52fb /gcc/tradcpp.c
parent8fa406936e64585e746a90f2d00cc6afa55a0c9c (diff)
downloadgcc-d34352df7a1c0b284e22b8927e15f3bddd0fd64c.tar.gz
* tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
and friends. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tradcpp.c')
-rw-r--r--gcc/tradcpp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c
index ec42b63db99..6dea86ea5b7 100644
--- a/gcc/tradcpp.c
+++ b/gcc/tradcpp.c
@@ -4673,9 +4673,15 @@ initialize_builtins ()
install_spec ("__INCLUDE_LEVEL__", T_INCLUDE_LEVEL);
install_spec ("__LINE__", T_SPECLINE);
+#ifndef NO_BUILTIN_SIZE_TYPE
install_value ("__SIZE_TYPE__", SIZE_TYPE);
+#endif
+#ifndef NO_BUILTIN_PTRDIFF_TYPE
install_value ("__PTRDIFF_TYPE__", PTRDIFF_TYPE);
+#endif
+#ifndef NO_BUILTIN_WCHAR_TYPE
install_value ("__WCHAR_TYPE__", WCHAR_TYPE);
+#endif
install_value ("__REGISTER_PREFIX__", REGISTER_PREFIX);
install_value ("__USER_LABEL_PREFIX__", user_label_prefix);
}