Commit bff714ad authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent d4bba93f
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment