]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
wxBase compilation fix
[wxWidgets.git] / src / common / fs_inet.cpp
index 7d4be026c9c5ed551df71692cd3e3aaaa294414b..4356b665ea38d98973c9109d711000bf3adaa663 100644 (file)
@@ -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());