X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/086d7f3177a2eb3cc5ad183a516e4b618cd9463b..c9d13e86a698164843715665624ccb929e37255c:/tests/streams/largefile.cpp diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp index 42ebb03ee9..af65d4e17e 100644 --- a/tests/streams/largefile.cpp +++ b/tests/streams/largefile.cpp @@ -36,7 +36,8 @@ #include "wx/wfstream.h" #ifdef __WXMSW__ -#include "winioctl.h" +#include "wx/msw/wrapwin.h" +#include #endif using std::auto_ptr; @@ -255,7 +256,7 @@ wxOutputStream *LargeFileTest_wxFFile::MakeOutStream(const wxString& name) const bool LargeFileTest_wxFFile::HasLFS() const { -#if HAVE_FSEEKO +#ifdef HAVE_FSEEKO return (wxFileOffset)0xffffffff > 0; #else return false; @@ -336,7 +337,8 @@ void GetVolumeInfo(const wxString& path) } // 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,