Commit d71f0a67 authored by Cyril Deguet's avatar Cyril Deguet

* vlc_common.c: forward declaration of dirent for vlc_symbols.h

parent 1a4ae567
...@@ -916,10 +916,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw ) ...@@ -916,10 +916,13 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
VLC_EXPORT( void *, vlc_opendir, ( const char * ) ); VLC_EXPORT( void *, vlc_opendir, ( const char * ) );
VLC_EXPORT( void *, vlc_readdir, ( void * ) ); VLC_EXPORT( void *, vlc_readdir, ( void * ) );
VLC_EXPORT( int, vlc_closedir, ( void * ) ); VLC_EXPORT( int, vlc_closedir, ( void * ) );
#elif !defined(__PLUGIN__) #else
# define vlc_opendir NULL struct dirent; /* forward declaration for vlc_symbols.h */
# define vlc_readdir NULL # if !defined(__PLUGIN__)
# define vlc_closedir NULL # define vlc_opendir NULL
# define vlc_readdir NULL
# define vlc_closedir NULL
# endif
#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