0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

osdep/dirent: add implementation for Windows SDK build

This commit is contained in:
Kacper Michajłow 2024-05-01 20:04:34 +02:00
parent 7253a7dea9
commit b647201795
11 changed files with 1241 additions and 10 deletions

View File

@ -20,7 +20,6 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <dirent.h>
#include <inttypes.h>
#include "osdep/io.h"

View File

@ -19,7 +19,6 @@
#include <stdbool.h>
#include <inttypes.h>
#include <assert.h>
#include <dirent.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>

View File

@ -17,7 +17,6 @@
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <libavutil/common.h>

1238
osdep/dirent-win.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -97,12 +97,14 @@ char *mp_to_utf8(void *talloc_ctx, const wchar_t *s);
#ifdef __CYGWIN__
#include <io.h>
#include "dirent-win.h"
#else
#include <dirent.h>
#endif
#ifdef __MINGW32__
#include <stdio.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fcntl.h>

View File

@ -15,7 +15,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <dirent.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>

View File

@ -19,7 +19,6 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <math.h>
#include <stdint.h>

View File

@ -19,7 +19,6 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <math.h>
#include <lua.h>

View File

@ -17,7 +17,6 @@
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <math.h>
#include <assert.h>

View File

@ -25,7 +25,6 @@
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <inttypes.h>
#include "stream/stream.h"

View File

@ -17,7 +17,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <dirent.h>
#include <sys/stat.h>
#include <time.h>