aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/stat.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2007-11-28 21:54:46 +0000
committerJohn Birrell <jb@FreeBSD.org>2007-11-28 21:54:46 +0000
commite3709a563c07080ea3912311879ca7d607a4afee (patch)
tree9a2114e6bec545e74a3d60db07e0217ab1f1d966 /sys/sys/stat.h
parent57438287ab0c44302578f54da6634c4484bc5059 (diff)
downloadsrc-e3709a563c07080ea3912311879ca7d607a4afee.tar.gz
src-e3709a563c07080ea3912311879ca7d607a4afee.zip
Remove _SOLARIS_C_SOURCE compatibility definitions. Unfortunately the
ZFS porting style didn't extend this, instead using a heap of additional header files that don't get installed. My intention had been to allow OpenSolaris external code to build on FreeBSD out of the box (i.e. without a src tree).
Notes
Notes: svn path=/head/; revision=174043
Diffstat (limited to 'sys/sys/stat.h')
-rw-r--r--sys/sys/stat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index d3572c34e0ea..10a3739cc440 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -304,14 +304,6 @@ struct nstat {
#endif /* __BSD_VISIBLE */
-/*
- * Solaris compatibility definitions.
- */
-#ifdef _SOLARIS_C_SOURCE
-#define stat64 stat
-#define fstat64 fstat
-#endif
-
#ifndef _KERNEL
__BEGIN_DECLS
#if __BSD_VISIBLE