aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2007-12-27 16:01:59 +0000
committerJohannes Schickel2007-12-27 16:01:59 +0000
commite36f79fcdf43d25b66a44d3787435822b317c547 (patch)
tree91fa7eb2282edfd7a2a0347c6bb60a5aa2f2d0da
parentf953ed4dde2600da2a4075e29614379a1fb05ea9 (diff)
downloadscummvm-rg350-e36f79fcdf43d25b66a44d3787435822b317c547.tar.gz
scummvm-rg350-e36f79fcdf43d25b66a44d3787435822b317c547.tar.bz2
scummvm-rg350-e36f79fcdf43d25b66a44d3787435822b317c547.zip
Fix for bug #1858824 "AMIGAOS4: Build Process breaks due to regression".
svn-id: r30013
-rw-r--r--common/hashmap.h4
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;