Commit 4fe5f182 by Kazu Hirata Committed by Kazu Hirata

fibheap.h (fibnode): Use unsigned long int for bit-fields if __GNUC__ is defined.

	* include/fibheap.h (fibnode): Use unsigned long int for
	bit-fields if __GNUC__ is defined.

From-SVN: r74817
parent d416de05
2003-12-18 Kazu Hirata <kazu@cs.umass.edu>
* include/fibheap.h (fibnode): Use unsigned long int for
bit-fields if __GNUC__ is defined.
2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* obstack.h: Merge the following change from gnulib:
......
......@@ -59,8 +59,13 @@ typedef struct fibnode
struct fibnode *right;
fibheapkey_t key;
void *data;
#ifdef __GNUC__
unsigned long int degree : 31;
unsigned long int mark : 1;
#else
unsigned int degree : 31;
unsigned int mark : 1;
#endif
} *fibnode_t;
extern fibheap_t fibheap_new PARAMS ((void));
......
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