[libbluray-devel] commit: Added BD_PUBLIC/BD_PRIVATE for Windows (hpi1 )
Jean-Baptiste Kempf
jb at videolan.org
Sat Aug 21 09:08:51 CEST 2010
On Sat, Aug 21, 2010 at 08:47:14AM +0200, git at videolan.org wrote :
> libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Aug 21 09:46:20 2010 +0300| [e4ea97db56ed24f26c267b39d1eeb1b95b0de087] | committer: hpi1
>
> Added BD_PUBLIC/BD_PRIVATE for Windows
Something is missing for static compilation, I believe
Like
#if defined(_WIN32) && !defined( LIBBLURAY_STATIC)
# if defined(__GNUC__)
# define BD_PUBLIC __attribute__((dllexport))
# define BD_PRIVATE
# else
# define BD_PUBLIC __declspec(dllexport)
# define BD_PRIVATE
# endif
#elif defined(_WIN32)
# define BD_PUBLIC
# define BD_PRIVATE
#elif defined(__GNUC__) && __GNUC__ >= 4
# define BD_PUBLIC __attribute__((visibility("default")))
# define BD_PRIVATE __attribute__((visibility("hidden")))
#else
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
+33 672 704 734
More information about the libbluray-devel
mailing list