Bläddra i källkod

oops, build break on win32

David Rose 24 år sedan
förälder
incheckning
44c98e3d39
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      panda/src/text/textFont.h

+ 2 - 0
panda/src/text/textFont.h

@@ -29,8 +29,10 @@
 class Node;
 class Node;
 class TextGlyph;
 class TextGlyph;
 
 
+#ifdef __GNUC__
 // For some reason, gcc's <string> doesn't define this.
 // For some reason, gcc's <string> doesn't define this.
 typedef basic_string<wchar_t> wstring;
 typedef basic_string<wchar_t> wstring;
+#endif
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 //       Class : TextFont
 //       Class : TextFont