[libbluray-devel] _WIN32: replace strtok_r with strtok_s
Petri Hintukainen
git at videolan.org
Wed Apr 15 09:21:42 CEST 2015
libudfread | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Apr 15 10:21:27 2015 +0300| [4f3bfd83fbc500a66879691afe95c4fa08d159ba] | committer: Petri Hintukainen
_WIN32: replace strtok_r with strtok_s
> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=4f3bfd83fbc500a66879691afe95c4fa08d159ba
---
src/udfread.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/udfread.c b/src/udfread.c
index 12ffa8a..13b4046 100644
--- a/src/udfread.c
+++ b/src/udfread.c
@@ -33,6 +33,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef _WIN32
+#define strtok_r strtok_s
+#endif
+
/*
* Logging
More information about the libbluray-devel
mailing list