- Timestamp:
- 03/22/10 15:55:52 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/branches/OpenSceneGraph-2.8/src/osgPlugins/ply/typedefs.h
r10012 r11274 13 13 #define MESH_TYPEDEFS_H 14 14 15 # if def WIN3215 # if defined(_MSC_VER) 16 16 # include <Winsock2.h> 17 17 # include <Windows.h> … … 19 19 20 20 # include <osg/Notify> 21 # include <cassert> 22 # define MESHASSERT assert 21 22 #ifdef NDEBUG 23 # define MESHASSERT( x ) 24 #else 25 # define MESHASSERT(x) { if( !(x) ) \ 26 osg::notify(osg::WARN) << "Ply Loader ##### Assert: " << #x << " #####" << std::endl; } 27 #endif 28 23 29 # define MESHERROR osg::notify(osg::WARN) 24 30 # define MESHWARN osg::notify(osg::WARN) 25 31 # define MESHINFO osg::notify(osg::INFO) 26 32 27 #if def WIN3233 #if defined(_MSC_VER) 28 34 typedef int socklen_t; 29 35 … … 38 44 # endif 39 45 40 #endif // Win3246 #endif // defined(_MSC_VER) 41 47 42 48 #include <exception>
