Commit 00e71fbf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Win32 vlc_w.*dir: declare internally

parent e4c0e92a
...@@ -754,21 +754,6 @@ VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) ); ...@@ -754,21 +754,6 @@ VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
VLC_EXPORT( int, vlc_strncasecmp, ( const char *s1, const char *s2, size_t n ) ); VLC_EXPORT( int, vlc_strncasecmp, ( const char *s1, const char *s2, size_t n ) );
VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) ); VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
#if defined (WIN32)
# include <dirent.h>
VLC_INTERNAL( void *, vlc_wopendir, ( const wchar_t * ) );
VLC_INTERNAL( struct _wdirent *, vlc_wreaddir, ( void * ) );
VLC_EXPORT( int, vlc_wclosedir, ( void * ) );
VLC_INTERNAL( void, vlc_rewinddir, ( void * ) );
# define opendir Use_utf8_opendir_or_vlc_wopendir_instead!
# define readdir Use_utf8_readdir_or_vlc_wreaddir_instead!
# define closedir vlc_wclosedir
# define _wopendir vlc_wopendir
# define _wreaddir vlc_wreaddir
# define _wclosedir vlc_wclosedir
# define rewinddir vlc_rewinddir
#endif
#if defined(WIN32) || defined(UNDER_CE) #if defined(WIN32) || defined(UNDER_CE)
/* win32, cl and icl support */ /* win32, cl and icl support */
# if defined( _MSC_VER ) || !defined( __MINGW32__ ) # if defined( _MSC_VER ) || !defined( __MINGW32__ )
......
...@@ -277,4 +277,19 @@ int vlc_closedir(void *); ...@@ -277,4 +277,19 @@ int vlc_closedir(void *);
void vlc_rewinddir(void *); void vlc_rewinddir(void *);
# endif # endif
#if defined (WIN32)
# include <dirent.h>
void *vlc_wopendir (const wchar_t *);
struct _wdirent *vlc_wreaddir (void *);
int vlc_wclosedir (void *);
void vlc_rewinddir (void *);
# define opendir Use_utf8_opendir_or_vlc_wopendir_instead!
# define readdir Use_utf8_readdir_or_vlc_wreaddir_instead!
# define closedir vlc_wclosedir
# define _wopendir vlc_wopendir
# define _wreaddir vlc_wreaddir
# define _wclosedir vlc_wclosedir
# define rewinddir vlc_rewinddir
#endif
#endif #endif
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