summaryrefslogtreecommitdiff
path: root/libc/misc/glob/glob64.c
blob: d84f874d5b6dc456883c5391b4821e9678722b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <_lfs_64.h>

#include <dirent.h>
#include <glob.h>
#include <sys/stat.h>

#define dirent dirent64

#define glob_t glob64_t
#define glob(pattern, flags, errfunc, pglob) \
  glob64 (pattern, flags, errfunc, pglob)
#define globfree(pglob) globfree64 (pglob)

#undef stat
#define stat stat64
#define lstat lstat64

#define __GLOB64    1
    
#include "glob.c"