summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-07 23:19:39 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-07 23:19:39 +0300
commit6794bca0e96ac288eab7248431080afe29152564 (patch)
tree5b146fcd354f39bab4bef119f0809d414c229ca0 /input
parent8a37558c5f62f68235321eb3817e3d55096a9b92 (diff)
downloadmpv-6794bca0e96ac288eab7248431080afe29152564.tar.bz2
mpv-6794bca0e96ac288eab7248431080afe29152564.tar.xz
build: add a hack to prevent name collision with libtalloc
libsmbclient uses dynamically linked libtalloc.so which has symbols with names matching those in the internal talloc.c. This name collision caused a crash under stream_smb when trying to play anything with smb://. Add a "#pragma GCC visibility" hack to talloc.h to hide the internal symbols from being visible to the outside libtalloc.so. Hopefully this doesn't break any platform worse than possibly causing a compiler warning about an unknown pragma (at least GCC and clang recognize it).
Diffstat (limited to 'input')
0 files changed, 0 insertions, 0 deletions