tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE and friends.

* tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
	and friends.

From-SVN: r34905
This commit is contained in:
Zack Weinberg 2000-07-07 19:36:12 +00:00 committed by Zack Weinberg
parent 7de9cc38c3
commit 09bb5d9a8f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
* tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
and friends.
2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h (UNION_INIT_ZERO): New macro for initializing union

View File

@ -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);
}