Changed the VS template export block to just compile when VS verion >= 1300 (VS.NET onwards.)

This commit is contained in:
Robert Osfield
2005-11-24 15:17:28 +00:00
parent b5a5cd7901
commit 09bfbeec8b

View File

@@ -43,7 +43,7 @@
#endif
// export template instances for basic types
#if (_MSC_VER >= 1100) && !defined( OSG_LIBRARY_STATIC ) // This should work from VC5.0 onwards
#if (_MSC_VER >= 1300) && !defined( OSG_LIBRARY_STATIC )
#include <vector>
#if defined( OSG_LIBRARY )
template class __declspec(dllexport) std::allocator<int>; // GLsizei