vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Thu Dec 3 03:36:55 2020 -0800| [b3c69dd2c9306fd756a0f18a2793a93b797818c8] | committer: Hugo Beauzée-Luyssen
vlc_plugin.h: Declare vlc_module_name as an EXTERN_SYMBOL We don't want the symbol to be mangled when building C++ > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b3c69dd2c9306fd756a0f18a2793a93b797818c8 --- include/vlc_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h index 88317c88db..d136224444 100644 --- a/include/vlc_plugin.h +++ b/include/vlc_plugin.h @@ -215,7 +215,7 @@ enum vlc_module_properties #ifdef __PLUGIN__ # define VLC_SYMBOL(symbol) symbol # define VLC_MODULE_NAME_HIDDEN_SYMBOL \ - const char vlc_module_name[] = MODULE_STRING; + EXTERN_SYMBOL const char vlc_module_name[] = MODULE_STRING; #else # define VLC_SYMBOL(symbol) CONCATENATE(symbol, MODULE_NAME) # define VLC_MODULE_NAME_HIDDEN_SYMBOL _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits