[vlc-devel] [vlc-commits] src: removed 'vlc_poll' from symbol list

Rémi Denis-Courmont rem at videolan.org
Sat Jan 21 18:02:55 CET 2012

   Hey Naohiro-san,

On Saturday 21 January 2012, Naohiro KORIYAMA wrote:
> This commit helps mac builds but breaks win32/64 builds. I tried the
> same thing, but ...

Yeah. There is an annoying limitation whereby libtool fails on both Windows 
and MacOS if an exported function is not defined. Since vlc_poll() makes sense 
and exists only on Windows and OS/2, this breaks. On Linux, this works fine 

The problem could be hacked around by inlining vlc_poll(). A more general 
solution would involve (partly) different symbols list per operating systems.

Rémi Denis-Courmont

More information about the vlc-devel mailing list