From e36f79fcdf43d25b66a44d3787435822b317c547 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 27 Dec 2007 16:01:59 +0000 Subject: Fix for bug #1858824 "AMIGAOS4: Build Process breaks due to regression". svn-id: r30013 --- common/hashmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hashmap.h b/common/hashmap.h index 8bda267c28..2010215991 100644 --- a/common/hashmap.h +++ b/common/hashmap.h @@ -120,8 +120,8 @@ public: class Iterator { typedef const HashMap *hashmap_t; friend class HashMap; -#ifdef MACOSX - public: // FIXME: Work around a bug in gcc version 4.0.1 (Apple Computer, Inc. build 5367) +#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 0) + public: // FIXME: Work around a bug in gcc version 4.0 (gcc 4.0.1 Apple Computer, Inc. build 5367 and gcc 4.0.2 AmigaOS build 20051012) #endif uint _idx; hashmap_t _hashmap; -- cgit v1.2.3