summaryrefslogtreecommitdiffstats
path: root/osdep/glob.h
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-25 10:00:18 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-25 10:00:18 +0000
commit0015a97826319e469e1614932749ab315f28f0fb (patch)
treefa380ac0d15245da7e539c2b41aee5fcc76f4d16 /osdep/glob.h
parent472539ae252638f18f38628adb059cfd53958e2a (diff)
downloadmpv-0015a97826319e469e1614932749ab315f28f0fb.tar.bz2
mpv-0015a97826319e469e1614932749ab315f28f0fb.tar.xz
alternative timer and glob emulation code for mingw32 port
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9984 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep/glob.h')
-rw-r--r--osdep/glob.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/osdep/glob.h b/osdep/glob.h
new file mode 100644
index 0000000000..dae4a73109
--- /dev/null
+++ b/osdep/glob.h
@@ -0,0 +1,16 @@
+#include "../config.h"
+
+#ifndef HAVE_GLOB
+#ifdef __MINGW32__
+typedef struct {
+ size_t gl_pathc;
+ char **gl_pathv;
+ size_t gl_offs;
+} glob_t;
+
+void globfree(glob_t *pglob);
+
+int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
+
+#endif
+#endif