Index: /OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h
===================================================================
--- /OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h (revision 10040)
+++ /OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h (revision 10041)
@@ -13,5 +13,5 @@
 #define MESH_TYPEDEFS_H
 
-#   ifdef WIN32
+#   if defined(_MSC_VER)
 #      include <Winsock2.h>
 #      include <Windows.h>
@@ -19,5 +19,4 @@
 
 #   include <osg/Notify>
-#    include <cassert>
 
 #ifdef NDEBUG
@@ -32,5 +31,5 @@
 #   define MESHINFO    osg::notify(osg::INFO)
 
-#ifdef WIN32
+#if defined(_MSC_VER)
 typedef int        socklen_t;
 
@@ -45,5 +44,5 @@
 #    endif
 
-#endif // Win32
+#endif // defined(_MSC_VER)
 
 #include <exception>
