Always use internal fnmatch, not system

This commit is contained in:
Russell Belfer 2012-10-11 11:58:00 -07:00
parent 1c3acf148b
commit 824d5e4d26
5 changed files with 1 additions and 8 deletions

View File

@ -10,6 +10,7 @@
#include "common.h"
#include <fcntl.h>
#include <time.h>
#include "fnmatch.h"
#ifndef S_IFGITLINK
#define S_IFGITLINK 0160000

View File

@ -7,13 +7,6 @@
#ifndef INCLUDE_posix__w32_h__
#define INCLUDE_posix__w32_h__
#if !defined(__sun) && !defined(__amigaos4__)
# include <fnmatch.h>
# define p_fnmatch(p, s, f) fnmatch(p, s, f)
#else
# include "compat/fnmatch.h"
#endif
#include <stdio.h>
#define p_lstat(p,b) lstat(p,b)

View File

@ -8,7 +8,6 @@
#define INCLUDE_posix__w32_h__
#include "common.h"
#include "compat/fnmatch.h"
#include "utf-conv.h"
GIT_INLINE(int) p_link(const char *old, const char *new)