diff --git a/include/vlc_fs.h b/include/vlc_fs.h index 498eed1b30..d5b78e2741 100644 --- a/include/vlc_fs.h +++ b/include/vlc_fs.h @@ -65,8 +65,10 @@ static inline void vlc_rewinddir( DIR *dir ) # define rewinddir vlc_rewinddir # include -# ifndef stat -# define stat _stati64 +# ifndef UNDER_CE +# ifndef stat +# define stat _stati64 +# endif # endif #endif