xinstall: Don't use UF_SETTABLE to infer whether st_flags is present
A future commit will add definitions of these for use in bootstrap tools on Linux, but struct stat will still be the host's that lacks st_flags. Switch this to just check for Linux instead, matching nbtool_config.h. Reviewed by: emaste, markj, imp Differential Revision: https://reviews.freebsd.org/D50079
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
* non-FreeBSD system. Linux does not have the st_flags and st_birthtime
|
||||
* members in struct stat so we need to omit support for changing those fields.
|
||||
*/
|
||||
#ifdef UF_SETTABLE
|
||||
#ifndef __linux__
|
||||
#define HAVE_STRUCT_STAT_ST_FLAGS 1
|
||||
#else
|
||||
#define HAVE_STRUCT_STAT_ST_FLAGS 0
|
||||
|
||||
Reference in New Issue
Block a user