*/
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "fs_inet.h"
#endif
wxInetCacheNode *n2;
m_Cache.BeginFind();
- while ((n = m_Cache.Next()))
+ while ((n = m_Cache.Next()) != 0)
{
n2 = (wxInetCacheNode*) n->GetData();
wxRemoveFile(n2->GetTemp());