Commit 96249f8f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not redefine vlc_wclosedir (Close #893)

parent a7a199e3
...@@ -974,15 +974,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -974,15 +974,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# include <dirent.h> # include <dirent.h>
VLC_INTERNAL( void *, vlc_wopendir, ( const wchar_t * ) ); VLC_INTERNAL( void *, vlc_wopendir, ( const wchar_t * ) );
VLC_INTERNAL( struct _wdirent *, vlc_wreaddir, ( void * ) ); VLC_INTERNAL( struct _wdirent *, vlc_wreaddir, ( void * ) );
VLC_EXPORT( int, vlc_wclosedir, ( void * ) ); VLC_INTERNAL( int, vlc_wclosedir, ( void * ) );
# define opendir Use_utf8_opendir_or_vlc_wopendir_instead! # define opendir Use_utf8_opendir_or_vlc_wopendir_instead!
# define readdir Use_utf8_readdir_or_vlc_wreaddir_instead! # define readdir Use_utf8_readdir_or_vlc_wreaddir_instead!
# define closedir vlc_wclosedir # define closedir vlc_wclosedir
# define _wopendir vlc_wopendir # define _wopendir vlc_wopendir
# define _wreaddir vlc_wreaddir # define _wreaddir vlc_wreaddir
# define _wclosedir vlc_wclosedir # define _wclosedir vlc_wclosedir
#else
# define vlc_wclosedir NULL
#endif #endif
/* Format type specifiers for 64 bits numbers */ /* Format type specifiers for 64 bits numbers */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment