svn commit: r318959 - head/sys/sys

Dimitry Andric dim at FreeBSD.org
Fri May 26 16:29:57 UTC 2017


Author: dim
Date: Fri May 26 16:29:55 2017
New Revision: 318959
URL: https://svnweb.freebsd.org/changeset/base/318959

Log:
  Define a new __INO64 macro in <sys/_types.h>, to indicate the system
  uses 64-bit inode numbers.  Programs can use this to avoid including
  <sys/param.h>, with its associated namespace pollution.
  
  Reviewed by:	kib

Modified:
  head/sys/sys/_types.h

Modified: head/sys/sys/_types.h
==============================================================================
--- head/sys/sys/_types.h	Fri May 26 16:29:00 2017	(r318958)
+++ head/sys/sys/_types.h	Fri May 26 16:29:55 2017	(r318959)
@@ -120,4 +120,11 @@ typedef union {
 
 typedef __uintmax_t     __rman_res_t;
 
+/*
+ * When the following macro is defined, the system uses 64-bit inode numbers.
+ * Programs can use this to avoid including <sys/param.h>, with its associated
+ * namespace pollution.
+ */
+#define	__INO64
+
 #endif /* !_SYS__TYPES_H_ */


More information about the svn-src-head mailing list