diff options
| author | Roy Marples <roy@marples.name> | 2019-03-07 15:12:27 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-03-07 15:12:27 +0000 |
| commit | 380187db98c0aa18d671941c3ca26dbc03d6d668 (patch) | |
| tree | 15b9e8152d32eb8649236348793e405431b686f7 /compat | |
| parent | befcc01ed932ad028e9df41f1dd8dd683f9682fe (diff) | |
| download | dhcpcd-380187db98c0aa18d671941c3ca26dbc03d6d668.tar.xz | |
Resync with upstream
Diffstat (limited to 'compat')
| -rw-r--r-- | compat/rbtree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/rbtree.h b/compat/rbtree.h index da828fd6..b227fd70 100644 --- a/compat/rbtree.h +++ b/compat/rbtree.h @@ -1,4 +1,4 @@ -/* $NetBSD: rbtree.h,v 1.4 2019/03/07 12:07:42 roy Exp $ */ +/* $NetBSD: rbtree.h,v 1.5 2019/03/07 14:39:21 roy Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -61,8 +61,8 @@ typedef struct rb_node { * rb_node will have an alignment of 4 or 8 bytes. */ uintptr_t rb_info; -#define RB_FLAG_POSITION __BIT(1) -#define RB_FLAG_RED __BIT(0) +#define RB_FLAG_POSITION (uintptr_t)0x2 +#define RB_FLAG_RED (uintptr_t)0x1 #define RB_FLAG_MASK (RB_FLAG_POSITION|RB_FLAG_RED) #define RB_FATHER(rb) \ ((struct rb_node *)((rb)->rb_info & ~RB_FLAG_MASK)) |
