projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bba93
)
ismindex: Include direct.h for _mkdir on windows
author
Martin Storsjö
<martin@martin.st>
Tue, 28 Aug 2012 19:30:36 +0000
(22:30 +0300)
committer
Martin Storsjö
<martin@martin.st>
Tue, 28 Aug 2012 21:23:18 +0000
(
00:23
+0300)
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>
tools/ismindex.c
patch
|
blob
|
history
diff --git
a/tools/ismindex.c
b/tools/ismindex.c
index
f6b0c6c
..
bf8c69d
100644
(file)
--- a/
tools/ismindex.c
+++ b/
tools/ismindex.c
@@
-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"