diff options
-rw-r--r-- | common/hashmap.h | 4 |
1 files 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<Key, Val, HashFunc, EqualFunc> *hashmap_t; friend class HashMap<Key, Val, HashFunc, EqualFunc>; -#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; |