]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
[wxWidgets.git] / include / wx / platform.h
index 71790c352dddbbc6c2dde920434ae8e19b3fe411..faeaf6fd204cf18c2571f805bec98aca9d8ce1d8 100644 (file)
     #define wxCHECK_GCC_VERSION( major, minor ) 0
 #endif
 
+#if defined(__BORLANDC__) || (defined(__GNUC__) && __GNUC__ < 3)
+#define wxNEEDS_CHARPP
+#endif
+
 /*
    This macro can be used to check that the version of mingw32 compiler is
    at least maj.min