]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
Intel C++ needs time.h before sys/stat.h
[wxWidgets.git] / src / common / dcbase.cpp
index 8534732e7ba1577775e4a9e70b8b59365cea589c..77b09b154b28cfb0e66945eb55ab6017eda5195b 100644 (file)
@@ -290,7 +290,11 @@ void wxDCBase::DoDrawSpline( wxList *points )
 
     wx_spline_add_point(x1, y1);
 
-    while ((node = node->GetNext()))
+    while ((node = node->GetNext())
+#if !wxUSE_STL
+           != NULL
+#endif // !wxUSE_STL
+          )
     {
         p = (wxPoint *)node->GetData();
         x1 = x2;