Commit f0e5eeeb by Mark Mitchell Committed by Mark Mitchell

system.h (ONLY_INT_FIELDS): Make sure it is defined.

	* system.h (ONLY_INT_FIELDS): Make sure it is defined.
	(USE_ENUM_BITFIELDS): Fix typo.

From-SVN: r33263
parent b1254b72
2000-04-19 Mark Mitchell <mark@codesourcery.com>
* system.h (ONLY_INT_FIELDS): Make sure it is defined.
(USE_ENUM_BITFIELDS): Fix typo.
Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stor-layout.c (place_field): Set rli->offset_align properly.
......
......@@ -547,10 +547,18 @@ extern void abort PARAMS ((void));
/* Get libiberty declarations. */
#include "libiberty.h"
/* Make sure that ONLY_INT_FIELDS has an integral value. */
#ifdef ONLY_INT_FIELDS
#undef ONLY_INT_FIELDS
#define ONLY_INT_FIELDS 1
#else
#define ONLY_INT_FIELDS 0
#endif
/* Enumerated bitfields are safe to use unless we've been explictly told
* otherwise or if they are signed. */
#define USE_ENUM_BITFIELDS __GNUC__ || (!ONLY_INT_FIELDS && ENUM_BTIFIELDS_ARE_UNSIGNED)
#define USE_ENUM_BITFIELDS (__GNUC__ || (!ONLY_INT_FIELDS && ENUM_BITFIELDS_ARE_UNSIGNED))
#if USE_ENUM_BITFIELDS
#define ENUM_BITFIELD(TYPE) enum TYPE
......
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