From: RĂ©mi Denis-Courmont Date: Sat, 25 Nov 2006 11:25:45 +0000 (+0000) Subject: Try to fix linking X-Git-Tag: 0.9.0-test0~9238 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=721f2cb11ea8b7865267b139aa6bb3ea6ae6d93e;p=vlc Try to fix linking --- diff --git a/include/vlc_common.h b/include/vlc_common.h index e131edc376..ddc935a514 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -973,7 +973,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) # include VLC_INTERNAL( void *, vlc_wopendir, ( const wchar_t * ) ); VLC_INTERNAL( struct _wdirent *, vlc_wreaddir, ( void * ) ); -VLC_INTERNAL( int, vlc_wclosedir, ( void * ) ); +VLC_EXPORT( int, vlc_wclosedir, ( void * ) ); # define opendir Use_utf8_opendir_or_vlc_wopendir_instead! # define readdir Use_utf8_readdir_or_vlc_wreaddir_instead! # define closedir vlc_wclosedir diff --git a/include/vlc_symbols.h b/include/vlc_symbols.h index 4cf09fea1d..231ab0e72b 100644 --- a/include/vlc_symbols.h +++ b/include/vlc_symbols.h @@ -415,7 +415,7 @@ struct module_symbols_t const char * (*VLC_Version_inner) (void); int (*playlist_PreparseEnqueueItem_inner) (playlist_t *, playlist_item_t *); void *vlc_readdir_wrapper_deprecated; - void *vlc_closedir_wrapper_deprecated; + int (*vlc_wclosedir_inner) (void *); void *vlc_opendir_wrapper_deprecated; void (*httpd_HandlerDelete_inner) (httpd_handler_t *); int (*__vlc_execve_inner) (vlc_object_t *p_object, int i_argc, char **pp_argv, char **pp_env, char *psz_cwd, char *p_in, int i_in, char **pp_data, int *pi_data); @@ -914,6 +914,7 @@ struct module_symbols_t # define VLC_CompileHost (p_symbols)->VLC_CompileHost_inner # define VLC_Version (p_symbols)->VLC_Version_inner # define playlist_PreparseEnqueueItem (p_symbols)->playlist_PreparseEnqueueItem_inner +# define vlc_wclosedir (p_symbols)->vlc_wclosedir_inner # define httpd_HandlerDelete (p_symbols)->httpd_HandlerDelete_inner # define __vlc_execve (p_symbols)->__vlc_execve_inner # define httpd_HandlerNew (p_symbols)->httpd_HandlerNew_inner @@ -1381,6 +1382,7 @@ struct module_symbols_t ((p_symbols)->VLC_CompileHost_inner) = VLC_CompileHost; \ ((p_symbols)->VLC_Version_inner) = VLC_Version; \ ((p_symbols)->playlist_PreparseEnqueueItem_inner) = playlist_PreparseEnqueueItem; \ + ((p_symbols)->vlc_wclosedir_inner) = vlc_wclosedir; \ ((p_symbols)->httpd_HandlerDelete_inner) = httpd_HandlerDelete; \ ((p_symbols)->__vlc_execve_inner) = __vlc_execve; \ ((p_symbols)->httpd_HandlerNew_inner) = httpd_HandlerNew; \ @@ -1533,7 +1535,6 @@ struct module_symbols_t (p_symbols)->playlist_NodeRemoveParent_deprecated = NULL; \ (p_symbols)->__vlc_fix_readdir_charset_deprecated = NULL; \ (p_symbols)->vlc_readdir_wrapper_deprecated = NULL; \ - (p_symbols)->vlc_closedir_wrapper_deprecated = NULL; \ (p_symbols)->vlc_opendir_wrapper_deprecated = NULL; \ (p_symbols)->FromUTF32_deprecated = NULL; \ (p_symbols)->__intf_Interact_deprecated = NULL; \