From 548b9dd8dbfa0dbe5247d9b4af7e388855beb506 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 20 Dec 2001 00:37:29 +0000 Subject: sync with w3m-0.2.2-inu-1.1/gc --- gc/include/new_gc_alloc.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gc/include/new_gc_alloc.h') diff --git a/gc/include/new_gc_alloc.h b/gc/include/new_gc_alloc.h index 1187f0b..aad9446 100644 --- a/gc/include/new_gc_alloc.h +++ b/gc/include/new_gc_alloc.h @@ -50,7 +50,20 @@ #ifndef GC_ALLOC_H #include "gc.h" -#include // A more portable way to get stl_alloc.h . + +#if (__GNUC__ < 3) +# include // A more portable way to get stl_alloc.h . +#else +# include +# ifndef __STL_BEGIN_NAMESPACE +# define __STL_BEGIN_NAMESPACE namespace std { +# define __STL_END_NAMESPACE }; +# endif +#ifndef __STL_USE_STD_ALLOCATORS +#define __STL_USE_STD_ALLOCATORS +#endif +#endif + #define GC_ALLOC_H -- cgit v1.2.3