X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2b87f38d9092b56591728558f2cc13cac6a58af..0b92df7943aeb25e6511cec28343a1512c45b519:/src/common/fs_inet.cpp diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index 7d4be026c9..4356b665ea 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -19,7 +19,7 @@ limitation) */ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "fs_inet.h" #endif @@ -156,11 +156,11 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri wxInternetFSHandler::~wxInternetFSHandler() { - wxNode *n; + wxHashTable::compatibility_iterator n; wxInetCacheNode *n2; m_Cache.BeginFind(); - while ((n = m_Cache.Next()) != NULL) + while ((n = m_Cache.Next()) != 0) { n2 = (wxInetCacheNode*) n->GetData(); wxRemoveFile(n2->GetTemp());