|
@@ -40,7 +40,7 @@
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
-#if defined(_WIN32) && !defined(__MINGW32CE__)
|
|
|
+#ifdef _WIN32
|
|
|
# include <fcntl.h>
|
|
|
# undef lseek
|
|
|
# define lseek(f,p,w) _lseeki64((f), (p), (w))
|
|
@@ -48,7 +48,7 @@
|
|
|
# define stat _stati64
|
|
|
# undef fstat
|
|
|
# define fstat(f,s) _fstati64((f), (s))
|
|
|
-#endif /* defined(_WIN32) && !defined(__MINGW32CE__) */
|
|
|
+#endif /* defined(_WIN32) */
|
|
|
|
|
|
static inline int is_dos_path(const char *path)
|
|
|
{
|
|
@@ -122,9 +122,7 @@ int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout);
|
|
|
#endif /* HAVE_POLL_H */
|
|
|
#endif /* CONFIG_NETWORK */
|
|
|
|
|
|
-#if defined(__MINGW32CE__)
|
|
|
-#define mkdir(a, b) _mkdir(a)
|
|
|
-#elif defined(_WIN32)
|
|
|
+#ifdef _WIN32
|
|
|
#include <stdio.h>
|
|
|
#include <windows.h>
|
|
|
#include "libavutil/wchar_filename.h"
|