libvlcpp | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Jun 16 08:49:22 2015 +0200| [7772c611a5f0282697cb4739d5f6c34ffbc0cf1b] | committer: Jean-Baptiste Kempf
structures: add libVLC version guards > http://git.videolan.org/gitweb.cgi/libvlcpp.git/?a=commit;h=7772c611a5f0282697cb4739d5f6c34ffbc0cf1b --- vlcpp/structures.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlcpp/structures.hpp b/vlcpp/structures.hpp index 317e0e9..5331d0f 100644 --- a/vlcpp/structures.hpp +++ b/vlcpp/structures.hpp @@ -27,6 +27,7 @@ #include <string> #include "common.hpp" +#include <vlc/libvlc_version.h> //FIXME: //Should we make the constructors private again and implement our own vector allocator? @@ -468,6 +469,7 @@ private: std::string m_name; }; +#if LIBVLC_VERSION_INT >= LIBVLC_VERSION(3, 0, 0, 0) /// /// \brief The TitleDescription class describes a title /// @@ -553,6 +555,7 @@ private: int64_t m_duration, m_starttime; std::string m_name; }; +#endif } // namespace VLC _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
