mirror of https://git.ffmpeg.org/ffmpeg.git
ismindex: Include direct.h for _mkdir on windows
The Windows SDK in MSVC doesn't have mkdir, only _mkdir, and MSDN says one should include direct.h to use it. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d4bba93f4d
commit
bff714ad4c
|
@ -36,8 +36,8 @@
|
|||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#define mkdir(a, b) mkdir(a)
|
||||
#include <direct.h>
|
||||
#define mkdir(a, b) _mkdir(a)
|
||||
#endif
|
||||
|
||||
#include "libavformat/avformat.h"
|
||||
|
|
Loading…
Reference in New Issue