Changeset 10041

Show
Ignore:
Timestamp:
04/13/09 11:41:22 (5 years ago)
Author:
robert
Message:

Replaced #idef WIN32 with _MSC_VER to try and fix build errors under mingw

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h

    r10040 r10041  
    1313#define MESH_TYPEDEFS_H 
    1414 
    15 #   ifdef WIN32 
     15#   if defined(_MSC_VER) 
    1616#      include <Winsock2.h> 
    1717#      include <Windows.h> 
     
    1919 
    2020#   include <osg/Notify> 
    21 #    include <cassert> 
    2221 
    2322#ifdef NDEBUG 
     
    3231#   define MESHINFO    osg::notify(osg::INFO) 
    3332 
    34 #ifdef WIN32 
     33#if defined(_MSC_VER) 
    3534typedef int        socklen_t; 
    3635 
     
    4544#    endif 
    4645 
    47 #endif // Win32 
     46#endif // defined(_MSC_VER) 
    4847 
    4948#include <exception>