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
Unknown Object (File)
Sun, May 26, 2:32 PM
Unknown Object (File)
Sat, May 25, 1:01 PM
Unknown Object (File)
Sat, May 25, 1:01 PM
Unknown Object (File)
Mar 18 2024, 10:56 AM
Unknown Object (File)
Dec 24 2023, 11:06 PM
Unknown Object (File)
Dec 23 2023, 12:21 AM
Unknown Object (File)
Dec 12 2023, 6:08 AM
Unknown Object (File)
Oct 10 2023, 5:13 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