Commit d6777972 by Joseph Myers Committed by Joseph Myers

cppdefault.h (WINT_TYPE): Define.

	* cppdefault.h (WINT_TYPE): Define.
	* cppinit.c (builtin_array): Define __WINT_TYPE__.
	* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
	* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.

From-SVN: r35478
parent 5896d794
2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
* cppdefault.h (WINT_TYPE): Define.
* cppinit.c (builtin_array): Define __WINT_TYPE__.
* tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
* tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com> Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
* (mips_legitimate_address_p): Don't allow register+offset * (mips_legitimate_address_p): Don't allow register+offset
......
...@@ -66,6 +66,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ...@@ -66,6 +66,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE "int" #define WCHAR_TYPE "int"
#endif #endif
/* The string value for __WINT_TYPE__. */
#ifndef WINT_TYPE
#define WINT_TYPE "unsigned int"
#endif
/* The string value for __USER_LABEL_PREFIX__ */ /* The string value for __USER_LABEL_PREFIX__ */
#ifndef USER_LABEL_PREFIX #ifndef USER_LABEL_PREFIX
......
...@@ -531,6 +531,9 @@ static const struct builtin builtin_array[] = ...@@ -531,6 +531,9 @@ static const struct builtin builtin_array[] =
#ifndef NO_BUILTIN_WCHAR_TYPE #ifndef NO_BUILTIN_WCHAR_TYPE
C("__WCHAR_TYPE__", WCHAR_TYPE), C("__WCHAR_TYPE__", WCHAR_TYPE),
#endif #endif
#ifndef NO_BUILTIN_WINT_TYPE
C("__WINT_TYPE__", WINT_TYPE),
#endif
/* Named operators known to the preprocessor. These cannot be #defined /* Named operators known to the preprocessor. These cannot be #defined
and always have their stated meaning. They are treated like normal and always have their stated meaning. They are treated like normal
......
...@@ -4644,6 +4644,9 @@ initialize_builtins () ...@@ -4644,6 +4644,9 @@ initialize_builtins ()
#ifndef NO_BUILTIN_WCHAR_TYPE #ifndef NO_BUILTIN_WCHAR_TYPE
install_value ("__WCHAR_TYPE__", WCHAR_TYPE); install_value ("__WCHAR_TYPE__", WCHAR_TYPE);
#endif #endif
#ifndef NO_BUILTIN_WINT_TYPE
install_value ("__WINT_TYPE__", WINT_TYPE);
#endif
install_value ("__REGISTER_PREFIX__", REGISTER_PREFIX); install_value ("__REGISTER_PREFIX__", REGISTER_PREFIX);
install_value ("__USER_LABEL_PREFIX__", user_label_prefix); install_value ("__USER_LABEL_PREFIX__", user_label_prefix);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment