workarounds for Palm compiler errors (pacc-error.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1373,7 +1373,12 @@ wxChar *wxGetTempFileName(const wxString& prefix, wxChar *buf)
|
||||
return NULL;
|
||||
|
||||
if ( buf )
|
||||
#ifdef _PACC_VER
|
||||
// work around the PalmOS pacc compiler bug
|
||||
wxStrcpy(buf, filename.data());
|
||||
#else
|
||||
wxStrcpy(buf, filename);
|
||||
#endif
|
||||
else
|
||||
buf = MYcopystring(filename);
|
||||
|
||||
|
Reference in New Issue
Block a user