Bug 786118: Use 'stat' and 'lstat' instead of 'stat64' and 'lstat64' on OS X. The '*64' functions are deprecated, regular 'stat' and 'lstat' are 64-bit capable. r=bsmedberg

This commit is contained in:
Josh Aas 2013-10-09 01:01:27 -05:00
parent f3dd4a6749
commit fce5b1d516

View File

@ -61,7 +61,9 @@
#define F_BSIZE f_bsize
#endif
#if defined(HAVE_STAT64) && defined(HAVE_LSTAT64)
// stat64 and lstat64 are deprecated on OS X. Normal stat and lstat are
// 64-bit by default on OS X 10.6+.
#if defined(HAVE_STAT64) && defined(HAVE_LSTAT64) && !defined(XP_MACOSX)
#if defined (AIX)
#if defined STAT
#undef STAT