Changeset 6c1ee3a269cd6496fe59aeb3f93f6448af387de3
- Timestamp:
- 06/08/05 13:45:34
(3 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1123328734 +0000
- git-parent:
[1da4cee504d32b96d9ac77d655942a6d15c2cb34]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1123328734 +0000
- Message:
- src/extras/libc.c: Fixed compilation on systems without scandir().
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1da4cee |
r6c1ee3a |
|
| 842 | 842 | # define scandir vlc_scandir |
|---|
| 843 | 843 | # define alphasort vlc_alphasort |
|---|
| | 844 | struct dirent; |
|---|
| 844 | 845 | VLC_EXPORT( int, vlc_scandir, ( const char *name, struct dirent ***namelist, int (*filter) ( const struct dirent * ), int (*compar) ( const struct dirent **, const struct dirent ** ) ) ); |
|---|
| 845 | 846 | VLC_EXPORT( int, vlc_alphasort, ( const struct dirent **a, const struct dirent **b ) ); |
|---|
| rf9d13dd |
r6c1ee3a |
|
| 39 | 39 | #endif |
|---|
| 40 | 40 | |
|---|
| | 41 | #ifdef HAVE_DIRENT_H |
|---|
| | 42 | # include <dirent.h> |
|---|
| | 43 | #endif |
|---|
| | 44 | |
|---|
| 41 | 45 | /***************************************************************************** |
|---|
| 42 | 46 | * getenv: just in case, but it should never be called |
|---|