From 9e5b6c43b13a561b09908d2a57edb6c96e4fedaf Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Tue, 12 Feb 2013 14:00:13 -0600 Subject: Add support for building and using shared libraries. --- pjmedia/include/pjmedia-videodev/config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pjmedia/include/pjmedia-videodev/config.h') diff --git a/pjmedia/include/pjmedia-videodev/config.h b/pjmedia/include/pjmedia-videodev/config.h index ef161eb..2ce0ca5 100644 --- a/pjmedia/include/pjmedia-videodev/config.h +++ b/pjmedia/include/pjmedia-videodev/config.h @@ -26,7 +26,6 @@ #include #include - PJ_BEGIN_DECL /** @@ -52,6 +51,8 @@ PJ_BEGIN_DECL #endif +#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) + /** * This setting controls whether SDL support should be included. * @@ -144,13 +145,14 @@ PJ_BEGIN_DECL # undef PJMEDIA_SDL_LIB #endif +#endif /* defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) */ + /** * @} */ PJ_END_DECL - #endif /* __PJMEDIA_VIDEODEV_CONFIG_H__ */ /* -- cgit v1.2.3