summaryrefslogtreecommitdiff
path: root/include/my_tree.h
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
committerunknown <reggie@big_geek.>2006-05-08 14:50:13 -0500
commitec82432941f7f6ef3d60b8d578883633dcaa6f26 (patch)
treedd3df64649d7ead588a0df258156657b5c8ddd41 /include/my_tree.h
parentd9c1d25882f856ea6ad5afada171b7e0d1b3bcd4 (diff)
downloadmariadb-git-ec82432941f7f6ef3d60b8d578883633dcaa6f26.tar.gz
removing MSDOS defines and code
include/config-win.h: removed reference to MSDOS
Diffstat (limited to 'include/my_tree.h')
-rw-r--r--include/my_tree.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/my_tree.h b/include/my_tree.h
index 14d8593b6dc..745500f06e9 100644
--- a/include/my_tree.h
+++ b/include/my_tree.h
@@ -40,19 +40,11 @@ typedef int (*tree_walk_action)(void *,element_count,void *);
typedef enum { free_init, free_free, free_end } TREE_FREE;
typedef void (*tree_element_free)(void*, TREE_FREE, void *);
-#ifdef MSDOS
-typedef struct st_tree_element {
- struct st_tree_element *left,*right;
- unsigned long count;
- uchar colour; /* black is marked as 1 */
-} TREE_ELEMENT;
-#else
typedef struct st_tree_element {
struct st_tree_element *left,*right;
uint32 count:31,
colour:1; /* black is marked as 1 */
} TREE_ELEMENT;
-#endif /* MSDOS */
#define ELEMENT_CHILD(element, offs) (*(TREE_ELEMENT**)((char*)element + offs))