view osdep/glob.h @ 20357:3cec4506b350

Provide fallback definition for uint_fast64_t as well. Fixes a compilation problem on glibc 2.0 systems. taken from a patch by Mikulas Patocka, mikulas (at) artax karlin mff cuni cz
author diego
date Sun, 22 Oct 2006 14:45:54 +0000
parents 08cac43f1e38
children a42f91a779b8
line wrap: on
line source

#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