Show
Ignore:
Timestamp:
22/08/05 19:58:20 (3 years ago)
Author:
Christophe Massiot <massiot@videolan.org>
git-committer:
Christophe Massiot <massiot@videolan.org> 1124733500 +0000
git-parent:

[de8754326da4a14aed19fed40a4e54f92a1e98a5]

git-author:
Christophe Massiot <massiot@videolan.org> 1124733500 +0000
Message:
  • src/extras/libc.c: Implemented a vlc_readdir_wrapper under Win32. This
    allows to call vlc_readdir_wrapper("\\") and get a list of Windows drives.
    This is a bit kludgy but so convenient to change drives under Windows.
  • modules/control/http: Adapted to use vlc_readdir_wrapper in foreach
    directory. Thou shalt escape all exported functions with E_() to avoid
    potential namespace collisions !
  • po: Re-run make update-po since POTFILES.in has changed.
Files:

Legend:

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

    r2851705 rd80b925  
    933933#endif 
    934934 
     935#if defined(WIN32) || defined(UNDER_CE) 
     936    VLC_EXPORT( void *, vlc_opendir_wrapper, ( const char * ) ); 
     937    VLC_EXPORT( struct dirent *, vlc_readdir_wrapper, ( void * ) ); 
     938    VLC_EXPORT( int, vlc_closedir_wrapper, ( void * ) ); 
     939#else 
     940#   define vlc_opendir_wrapper opendir 
     941#   define vlc_readdir_wrapper readdir 
     942#   define vlc_closedir_wrapper closedir 
     943#endif 
     944 
    935945/* Format type specifiers for 64 bits numbers */ 
    936946#if defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))