]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/buffer.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / buffer.h
index d06fbf6fc15b57a76d726521cd9f4295621bd111..346ef113f9b6bb78d4f9f0e653d765e54810c773 100644 (file)
@@ -15,7 +15,9 @@
 #include "wx/chartype.h"
 #include "wx/wxcrtbase.h"
 
+#ifndef __WXPALMOS5__
 #include <stdlib.h>             // malloc() and free()
+#endif // ! __WXPALMOS5__
 
 class WXDLLIMPEXP_FWD_BASE wxCStrData;