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:
Dimitry Andric 2017-05-26 16:29:55 +00:00
parent 5d08768a2b
commit b47efe07c4

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