From c35d942d405f081b2172f3e8a76ecf4a466a40cf Mon Sep 17 00:00:00 2001 From: skyjake Date: Fri, 22 Mar 2013 19:41:05 +0200 Subject: [PATCH] Fixed|Mac OS X: Workaround for a GCC 4.0 C++ language issue Apparently nested classes and friends aren't handled that well. --- doomsday/client/include/resource/material.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doomsday/client/include/resource/material.h b/doomsday/client/include/resource/material.h index 2f4837fd78..58bb66cf84 100644 --- a/doomsday/client/include/resource/material.h +++ b/doomsday/client/include/resource/material.h @@ -481,6 +481,11 @@ class Material : public de::MapElement */ class Animation { +#ifdef MACOS_10_4 + // GCC 4.0 on Mac OS X 10.5 doesn't handle nested classes + // and friends that well. + public: +#endif Animation(Material &material, MaterialContextId context); public: