OSX: Switched away from deprecated statfs64 interface.
Getting rid of build warning warning: 'statfs64' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] 10.6 is much older than the oldest git-annex OSX port, so won't break anything.
This commit is contained in:
parent
ea8297b32c
commit
e013183280
2 changed files with 3 additions and 4 deletions
|
@ -8,12 +8,10 @@
|
|||
/* Include appropriate headers for the OS, and define what will be used to
|
||||
* check the free space. */
|
||||
#if defined(__APPLE__)
|
||||
# define _DARWIN_FEATURE_64_BIT_INODE 1
|
||||
# include <sys/param.h>
|
||||
# include <sys/mount.h>
|
||||
/* In newer OSX versions, statfs64 is deprecated, in favor of statfs,
|
||||
* which is 64 bit only with a build option -- but statfs64 still works,
|
||||
* and this keeps older OSX also supported. */
|
||||
# define STATCALL statfs64
|
||||
# define STATCALL statfs
|
||||
# define STATSTRUCT statfs64
|
||||
#else
|
||||
#if defined (__FreeBSD__)
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -11,6 +11,7 @@ git-annex (5.20141220) UNRELEASED; urgency=medium
|
|||
* Windows: Fix local rsync filepath munging (fixes 26 test suite failures).
|
||||
* Windows: Got the rsync special remote working.
|
||||
* Windows: Fix handling of views of filenames containing '%'
|
||||
* OSX: Switched away from deprecated statfs64 interface.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Mon, 22 Dec 2014 15:16:38 -0400
|
||||
|
||||
|
|
Loading…
Reference in a new issue