Page MenuHomeFreeBSD

tools/build: Hide spurious errors if sys/stat.h does not exist
ClosedPublic

Authored by emaste on Feb 24 2023, 2:46 PM.
Tags
None
Referenced Files
F154450750: D38757.diff
Tue, Apr 28, 3:55 PM
Unknown Object (File)
Tue, Apr 28, 1:37 AM
Unknown Object (File)
Mon, Apr 27, 12:30 PM
Unknown Object (File)
Fri, Apr 17, 9:34 PM
Unknown Object (File)
Wed, Apr 15, 9:25 AM
Unknown Object (File)
Wed, Apr 15, 6:07 AM
Unknown Object (File)
Mon, Apr 13, 10:00 PM
Unknown Object (File)
Sat, Apr 11, 1:41 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

Seems fine, though given we're willing to pay the cost of an exec, wrapping the thing in .if exists(${HOST_INCLUDE_ROOT}/sys/stat.h) might be tidier.

This revision is now accepted and ready to land.Feb 24 2023, 7:27 PM

use .if exists as suggested by @brooks

This revision now requires review to proceed.Feb 24 2023, 8:48 PM
This revision is now accepted and ready to land.Feb 24 2023, 10:48 PM