Discussion:
[libdvdcss-devel] Win32: use the correct HAVE_BROKEN_MKDIR define
Jean-Baptiste Kempf
2013-02-14 15:49:14 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Thu Feb 14 16:46:40 2013 +0100| [4a39708f5eb449b296e5f96c24bc2b80a3f012c0] | committer: Jean-Baptiste Kempf

Win32: use the correct HAVE_BROKEN_MKDIR define
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=4a39708f5eb449b296e5f96c24bc2b80a3f012c0
---

src/libdvdcss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index b5dd03b..0632a19 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -128,7 +128,7 @@
#include "ioctl.h"
#include "device.h"

-#if defined(WIN32) && !defined(__CYGWIN__)
+#ifdef HAVE_BROKEN_MKDIR
#include <direct.h>
#define mkdir(a, b) _mkdir(a)
#endif
Jean-Baptiste Kempf
2013-02-14 15:57:35 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Thu Feb 14 16:46:40 2013 +0100| [5c454e815a7abfeed7e48abc2a7df3071b16fcb4] | committer: Jean-Baptiste Kempf

Win32: use the correct HAVE_BROKEN_MKDIR define
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=5c454e815a7abfeed7e48abc2a7df3071b16fcb4
---

src/libdvdcss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index b5dd03b..0632a19 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -128,7 +128,7 @@
#include "ioctl.h"
#include "device.h"

-#if defined(WIN32) && !defined(__CYGWIN__)
+#ifdef HAVE_BROKEN_MKDIR
#include <direct.h>
#define mkdir(a, b) _mkdir(a)
#endif

Loading...