#include "wx/wfstream.h"
#ifdef __WXMSW__
-#include "winioctl.h"
+#include "wx/msw/wrapwin.h"
+#include <winioctl.h>
#endif
using std::auto_ptr;
bool LargeFileTest_wxFFile::HasLFS() const
{
-#if HAVE_FSEEKO
+#ifdef HAVE_FSEEKO
return (wxFileOffset)0xffffffff > 0;
#else
return false;
}
// NULL means the current volume
- const wxChar *pVol = vol.empty() ? NULL : vol.c_str();
+ const wxChar *pVol = vol.empty() ? (const wxChar *)NULL
+ : vol.c_str();
if (!::GetVolumeInformation(pVol, NULL, 0, NULL, NULL,
&volumeFlags,