summaryrefslogtreecommitdiffstats
path: root/contrib/libg++/libstdc++/stl/hugalloc.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-03 21:35:18 +0000
committerpeter <peter@FreeBSD.org>1996-10-03 21:35:18 +0000
commit7a8bb066f1347ffb7d213e84550c3a87240a4b23 (patch)
tree1cf3d19d9802c4f25728485cfa65071f3ed44457 /contrib/libg++/libstdc++/stl/hugalloc.h
parentacb2bcd1679fc89c82b1ebd30a92fe0538b7f4dc (diff)
downloadFreeBSD-src-7a8bb066f1347ffb7d213e84550c3a87240a4b23.zip
FreeBSD-src-7a8bb066f1347ffb7d213e84550c3a87240a4b23.tar.gz
Import of raw libg++-2.7.2, but in a very cut-down form. There is still
a small amount of unused stuff (by the bmakefiles to follow), but it isn't much and seems harmless enough.
Diffstat (limited to 'contrib/libg++/libstdc++/stl/hugalloc.h')
-rw-r--r--contrib/libg++/libstdc++/stl/hugalloc.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/contrib/libg++/libstdc++/stl/hugalloc.h b/contrib/libg++/libstdc++/stl/hugalloc.h
new file mode 100644
index 0000000..a793ab2
--- /dev/null
+++ b/contrib/libg++/libstdc++/stl/hugalloc.h
@@ -0,0 +1,38 @@
+/*
+ *
+ * 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 HUGALLOC_H
+#define HUGALLOC_H
+
+#ifdef FARALLOC_H
+#undef FARALLOC_H
+#define __FARALLOC_WAS_DEFINED
+#endif
+
+#define __far __huge
+#define far_allocator huge_allocator
+#include <faralloc.h>
+#undef __far
+#undef far_allocator
+
+#undef FARALLOC_H
+
+#ifdef __FARALLOC_WAS_DEFINED
+#define FARALLOC_H
+#undef __FARALLOC_WAS_DEFINED
+#endif
+
+#endif
+
OpenPOWER on IntegriCloud