view osdep/glob.h @ 21592:ae0f4c4e4d9d

__CPU__ will be x86-64 under amd64 and fail the check "#if __CPU__ > 386". patch by Zuxy Meng, zuxy.meng gmail com
author diego
date Wed, 13 Dec 2006 11:23:15 +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