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
F102002395: D38757.diff
Wed, Nov 6, 10:19 AM
F101974140: D38757.id117893.diff
Wed, Nov 6, 12:51 AM
F101973500: D38757.diff
Wed, Nov 6, 12:37 AM
Unknown Object (File)
Tue, Nov 5, 8:36 AM
Unknown Object (File)
Sun, Oct 27, 10:36 AM
Unknown Object (File)
Sun, Oct 27, 10:36 AM
Unknown Object (File)
Sun, Oct 27, 10:36 AM
Unknown Object (File)
Sun, Oct 27, 10:36 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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