Commit 04a2068
tests: guard the V4L2 pin case for non-Linux hosts
The V4L2 round-trip case was inside #if defined(__linux__), but the pinned-
constants case added alongside it was not, so every V4L2_PIX_FMT_* reference in
it broke the build anywhere without linux/videodev2.h.
Found by compiling on Windows, which is the only thing that could have found it:
the Linux build is green either way, and nothing in review flags a missing guard
on a block that sits next to a guarded one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014rZgzE8JjWvHDtaVUhxpLE1 parent 181b012 commit 04a2068
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
753 | 754 | | |
754 | 755 | | |
755 | 756 | | |
| |||
850 | 851 | | |
851 | 852 | | |
852 | 853 | | |
| 854 | + | |
853 | 855 | | |
854 | 856 | | |
855 | 857 | | |
| |||
0 commit comments