mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 15:52:02 +00:00
xplat: use st_mtimespec everywhere on mac
This commit is contained in:
parent
0c09753cf5
commit
9447b9e55a
@ -62,6 +62,12 @@
|
||||
# endif
|
||||
#define GIT_STDLIB_CALL
|
||||
|
||||
#ifdef GIT_USE_STAT_ATIMESPEC
|
||||
# define st_atim st_atimespec
|
||||
# define st_ctim st_ctimespec
|
||||
# define st_mtim st_mtimespec
|
||||
#endif
|
||||
|
||||
# include <arpa/inet.h>
|
||||
|
||||
#endif
|
||||
|
@ -13,12 +13,6 @@
|
||||
#include "win32/findfile.h"
|
||||
#endif
|
||||
|
||||
#ifdef GIT_USE_STAT_ATIMESPEC
|
||||
#define st_atim st_atimespec
|
||||
#define st_ctim st_ctimespec
|
||||
#define st_mtim st_mtimespec
|
||||
#endif
|
||||
|
||||
GIT__USE_STRMAP
|
||||
|
||||
int git_futils_mkpath2file(const char *file_path, const mode_t mode)
|
||||
|
Loading…
Reference in New Issue
Block a user