Moved OSG_USE_DEPRECATED_API from include/osg/Export to Cmake controlled include/osg/Config

This commit is contained in:
Robert Osfield
2017-05-24 19:40:08 +01:00
parent 8c54a49319
commit 20ac472d1f
3 changed files with 3 additions and 4 deletions

View File

@@ -15,10 +15,6 @@
#define OSG_EXPORT_ 1
#include<osg/Config>
// define USE_DEPRECATED_API is used to include in API which is being fazed out
// if you can compile your apps with this turned off you are
// well placed for compatibility with future versions.
#define USE_DEPRECATED_API
// disable VisualStudio warnings
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS)