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
This commit is contained in:
dim 2017-05-26 16:29:55 +00:00
parent ab2f2c70c1
commit 87dc83f38b

View File

@ -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_ */