diff options
Diffstat (limited to 'contrib/libg++/libstdc++/stl/hset.h')
-rw-r--r-- | contrib/libg++/libstdc++/stl/hset.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/libg++/libstdc++/stl/hset.h b/contrib/libg++/libstdc++/stl/hset.h new file mode 100644 index 0000000..11a1576 --- /dev/null +++ b/contrib/libg++/libstdc++/stl/hset.h @@ -0,0 +1,44 @@ +/* + * + * Copyright (c) 1994 + * Hewlett-Packard Company + * + * Permission to use, copy, modify, distribute and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appear in all copies and + * that both that copyright notice and this permission notice appear + * in supporting documentation. Hewlett-Packard Company makes no + * representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + */ + +#ifndef HSET_H +#define HSET_H + +#ifdef SET_H +#undef SET_H +#undef TREE_H +#define __SET_WAS_DEFINED +#endif + +#define Allocator huge_allocator +#define set huge_set +#define rb_tree huge_rb_tree +#include <hugalloc.h> +#include <set.h> + +#undef SET_H +#undef TREE_H + +#ifdef __SET_WAS_DEFINED +#define SET_H +#define TREE_H +#undef __SET_WAS_DEFINED +#endif + +#undef Allocator +#undef set +#undef rb_tree + +#endif |