OSDN Git Service

* builtins.c: Include langhooks.h.
[pf3gnuchains/gcc-fork.git] / gcc / objc / objc-lang.c
index 2472803..fef5196 100644 (file)
@@ -99,6 +99,8 @@ static void objc_post_options                   PARAMS ((void));
 #define LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE c_common_signed_or_unsigned_type
 #undef LANG_HOOKS_INCOMPLETE_TYPE_ERROR
 #define LANG_HOOKS_INCOMPLETE_TYPE_ERROR c_incomplete_type_error
+#undef LANG_HOOKS_TYPE_PROMOTES_TO
+#define LANG_HOOKS_TYPE_PROMOTES_TO c_type_promotes_to
 
 /* Each front end provides its own hooks, for toplev.c.  */
 const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;