aboutsummaryrefslogtreecommitdiff
path: root/include/fibheap.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-12-19 03:17:40 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-12-19 03:17:40 +0000
commit4fe5f18266b3813c0afcc526b4d90528693d3e0e (patch)
tree2b2d6546283478e90e665b73de41f742c8ade535 /include/fibheap.h
parentd416de057b728ba3bcde18362eb59be27305af7a (diff)
downloadgcc-4fe5f18266b3813c0afcc526b4d90528693d3e0e.zip
gcc-4fe5f18266b3813c0afcc526b4d90528693d3e0e.tar.gz
gcc-4fe5f18266b3813c0afcc526b4d90528693d3e0e.tar.bz2
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
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 fc37f9e..addef19 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));