Commit 824d5e4d by Russell Belfer

Always use internal fnmatch, not system

parent 1c3acf14
......@@ -10,6 +10,7 @@
#include "common.h"
#include <fcntl.h>
#include <time.h>
#include "fnmatch.h"
#ifndef S_IFGITLINK
#define S_IFGITLINK 0160000
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment