summaryrefslogtreecommitdiff
path: root/xpcom/io
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-02 07:10:18 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-02 07:10:18 +0000
commit3d671e4275c73a1484c72713304c6e04ec4ffc7c (patch)
tree98c4e605f3ce273f65fdf208275c433ee4566d4c /xpcom/io
parent56da7e27477d0d4669980d2ce17f3b877ea0c36c (diff)
downloaduxp-3d671e4275c73a1484c72713304c6e04ec4ffc7c.tar.gz
Issue #1751 -- Remove XP_DARWIN
Diffstat (limited to 'xpcom/io')
-rw-r--r--xpcom/io/nsLocalFileUnix.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xpcom/io/nsLocalFileUnix.h b/xpcom/io/nsLocalFileUnix.h
index c49f448fd1..5bdc6a3da0 100644
--- a/xpcom/io/nsLocalFileUnix.h
+++ b/xpcom/io/nsLocalFileUnix.h
@@ -61,9 +61,7 @@
#define F_BSIZE f_bsize
#endif
-// 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_DARWIN)
+#if defined(HAVE_STAT64) && defined(HAVE_LSTAT64)
#define STAT stat64
#define LSTAT lstat64
#define HAVE_STATS64 1