mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-19 09:31:36 +00:00
Always use internal fnmatch, not system
This commit is contained in:
parent
1c3acf148b
commit
824d5e4d26
@ -10,6 +10,7 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include "fnmatch.h"
|
||||||
|
|
||||||
#ifndef S_IFGITLINK
|
#ifndef S_IFGITLINK
|
||||||
#define S_IFGITLINK 0160000
|
#define S_IFGITLINK 0160000
|
||||||
|
@ -7,13 +7,6 @@
|
|||||||
#ifndef INCLUDE_posix__w32_h__
|
#ifndef INCLUDE_posix__w32_h__
|
||||||
#define 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>
|
#include <stdio.h>
|
||||||
|
|
||||||
#define p_lstat(p,b) lstat(p,b)
|
#define p_lstat(p,b) lstat(p,b)
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#define INCLUDE_posix__w32_h__
|
#define INCLUDE_posix__w32_h__
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "compat/fnmatch.h"
|
|
||||||
#include "utf-conv.h"
|
#include "utf-conv.h"
|
||||||
|
|
||||||
GIT_INLINE(int) p_link(const char *old, const char *new)
|
GIT_INLINE(int) p_link(const char *old, const char *new)
|
||||||
|
Loading…
Reference in New Issue
Block a user