From a597ec6f8a82fa95ed9a9b651653fd89790b03a7 Mon Sep 17 00:00:00 2001 From: maartenkeijzer Date: Tue, 18 Mar 2003 09:40:36 +0000 Subject: [PATCH] excluded gcc>3 from check --- eo/src/utils/compatibility.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eo/src/utils/compatibility.h b/eo/src/utils/compatibility.h index 29481b8f..af20a792 100644 --- a/eo/src/utils/compatibility.h +++ b/eo/src/utils/compatibility.h @@ -31,12 +31,14 @@ #include #include -#ifdef __GNUC__ +#ifdef __GNUC__ +#if __GNUC__ < 3 // check for stdlibc++v3 which does have ios_base #ifndef _CPP_BITS_IOSBASE_H typedef ios ios_base; // not currently defined in GCC #endif #endif +#endif #if defined(_MSC_VER) && (_MSC_VER < 1300) /*