13a85108fSZane Shelley#pragma once 23a85108fSZane Shelley 33a85108fSZane Shelley// clang-format off 43a85108fSZane Shelley 53a85108fSZane Shelley// IMPORTANT: 63a85108fSZane Shelley// Use constexpr and avoid #define whenever possible. This has the benefit of 73a85108fSZane Shelley// compiling as much code as possible, regardless if it is actually used. Thus 83a85108fSZane Shelley// ensuring each code path remains buildable. Note that the optimization path 93a85108fSZane Shelley// should delete the unused code later. 103a85108fSZane Shelley 11*e4bfb47cSZane Shelley// TODO: This has a problem because as currently designed, meson will replace 12*e4bfb47cSZane Shelley// the field with `True`, which won't compile. Will need to investigate 13*e4bfb47cSZane Shelley// later. Fortunately, this variable is not currently used. So we can 14*e4bfb47cSZane Shelley// comment it out and leave it here for an example when other config 15*e4bfb47cSZane Shelley// options are added later. 16*e4bfb47cSZane Shelley// constexpr const int configPhalApi = @CONFIG_PHAL_API@; 173a85108fSZane Shelley 183a85108fSZane Shelley// IMPORTANT: 193a85108fSZane Shelley// Avoid using #define whenever possible. See note above for reason. 203a85108fSZane Shelley 213a85108fSZane Shelley#mesondefine CONFIG_PHAL_API 223a85108fSZane Shelley 233a85108fSZane Shelley// clang-format on 24