Skip to content

Commit

Permalink
Fixed|Mac OS X: Workaround for a GCC 4.0 C++ language issue
Browse files Browse the repository at this point in the history
Apparently nested classes and friends aren't handled that well.
  • Loading branch information
skyjake committed Mar 22, 2013
1 parent 196b53b commit c35d942
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/client/include/resource/material.h
Expand Up @@ -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:
Expand Down

0 comments on commit c35d942

Please sign in to comment.