From 0015a97826319e469e1614932749ab315f28f0fb Mon Sep 17 00:00:00 2001 From: faust3 Date: Fri, 25 Apr 2003 10:00:18 +0000 Subject: alternative timer and glob emulation code for mingw32 port git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9984 b3059339-0415-0410-9bf9-f77b7e298cf2 --- osdep/glob.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 osdep/glob.h (limited to 'osdep/glob.h') 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 -- cgit v1.2.3