diff --git a/components/resource/objectcache.cpp b/components/resource/objectcache.cpp index 8c2c52416..7264d05aa 100644 --- a/components/resource/objectcache.cpp +++ b/components/resource/objectcache.cpp @@ -13,7 +13,7 @@ #include -#if OSG_VERSION_LESS_THAN(3,4,0) +#if OSG_VERSION_LESS_THAN(3,3,3) #include "objectcache.hpp" diff --git a/components/resource/objectcache.hpp b/components/resource/objectcache.hpp index 0a342f27f..cae48ca6b 100644 --- a/components/resource/objectcache.hpp +++ b/components/resource/objectcache.hpp @@ -19,7 +19,7 @@ #include -#if OSG_VERSION_GREATER_OR_EQUAL(3,4,0) +#if OSG_VERSION_GREATER_OR_EQUAL(3,3,3) #include #else