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 <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <io.h>
|
#include <direct.h>
|
||||||
#define mkdir(a, b) mkdir(a)
|
#define mkdir(a, b) _mkdir(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "libavformat/avformat.h"
|
#include "libavformat/avformat.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user