Changeset 00e71fbf49079629e40aca7468d906848343c7e8

Show
Ignore:
Timestamp:
24/05/08 10:18:51 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1211617131 +0300
git-parent:

[e4c0e92a1f78b19caf0f13b02198b37b9f8144cd]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1211617131 +0300
Message:

Win32 vlc_w.*dir: declare internally

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_common.h

    rff02bf9 r00e71fb  
    755755VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) ); 
    756756 
    757 #if defined (WIN32) 
    758 #   include <dirent.h> 
    759  VLC_INTERNAL( void *, vlc_wopendir, ( const wchar_t * ) ); 
    760  VLC_INTERNAL( struct _wdirent *, vlc_wreaddir, ( void * ) ); 
    761  VLC_EXPORT( int, vlc_wclosedir, ( void * ) ); 
    762  VLC_INTERNAL( void, vlc_rewinddir, ( void * ) ); 
    763 #   define opendir Use_utf8_opendir_or_vlc_wopendir_instead! 
    764 #   define readdir Use_utf8_readdir_or_vlc_wreaddir_instead! 
    765 #   define closedir vlc_wclosedir 
    766 #   define _wopendir vlc_wopendir 
    767 #   define _wreaddir vlc_wreaddir 
    768 #   define _wclosedir vlc_wclosedir 
    769 #   define rewinddir vlc_rewinddir 
    770 #endif 
    771  
    772757#if defined(WIN32) || defined(UNDER_CE) 
    773758/* win32, cl and icl support */ 
  • src/libvlc.h

    re4c0e92 r00e71fb  
    278278# endif 
    279279 
     280#if defined (WIN32) 
     281#   include <dirent.h> 
     282void *vlc_wopendir (const wchar_t *); 
     283struct _wdirent *vlc_wreaddir (void *); 
     284int vlc_wclosedir (void *); 
     285void vlc_rewinddir (void *); 
     286#   define opendir Use_utf8_opendir_or_vlc_wopendir_instead! 
     287#   define readdir Use_utf8_readdir_or_vlc_wreaddir_instead! 
     288#   define closedir vlc_wclosedir 
     289#   define _wopendir vlc_wopendir 
     290#   define _wreaddir vlc_wreaddir 
     291#   define _wclosedir vlc_wclosedir 
     292#   define rewinddir vlc_rewinddir 
    280293#endif 
     294 
     295#endif