blob: 078fe81b05d1b3ed44f0cb3a731b0688f78840f0 [file] [log] [blame]
Zane Shelley3a851082021-03-23 16:45:28 -05001#pragma once
2
3// clang-format off
4
5// IMPORTANT:
6// Use constexpr and avoid #define whenever possible. This has the benefit of
7// compiling as much code as possible, regardless if it is actually used. Thus
8// ensuring each code path remains buildable. Note that the optimization path
9// should delete the unused code later.
10
11constexpr const int configPhalApi = @CONFIG_PHAL_API@;
12
13// IMPORTANT:
14// Avoid using #define whenever possible. See note above for reason.
15
16#mesondefine CONFIG_PHAL_API
17
18// clang-format on