diff --git a/panda/src/text/textFont.h b/panda/src/text/textFont.h index 6b6b403d1b..ec228fe757 100644 --- a/panda/src/text/textFont.h +++ b/panda/src/text/textFont.h @@ -29,8 +29,10 @@ class Node; class TextGlyph; +#ifdef __GNUC__ // For some reason, gcc's doesn't define this. typedef basic_string wstring; +#endif //////////////////////////////////////////////////////////////////// // Class : TextFont