summaryrefslogtreecommitdiff
path: root/include/fibheap.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-19 03:17:40 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-19 03:17:40 +0000
commit195309abd279a76d5d47839bce18dab847b797e3 (patch)
tree2b2d6546283478e90e665b73de41f742c8ade535 /include/fibheap.h
parenta4d123459fb66cd505cd1d8c7977bee206a5130d (diff)
downloadgcc-195309abd279a76d5d47839bce18dab847b797e3.tar.gz
* include/fibheap.h (fibnode): Use unsigned long int for
bit-fields if __GNUC__ is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74817 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/fibheap.h')
-rw-r--r--include/fibheap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fibheap.h b/include/fibheap.h
index fc37f9ef635..addef19db95 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -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));