WAFFLE_FEATURE_TEST_(7) Waffle Manual WAFFLE_FEATURE_TEST_(7) NAME waffle_feature_test_macros - Macros to control definitions exposed by Waf- fle's headers SYNOPSIS WAFFLE_API_VERSION WAFFLE_API_EXPERIMENTAL DESCRIPTION Waffle's feature test macros allow the programmer to control the defini- tions that are exposed by Waffle's headers when a program is compiled. Con- versely, the macros allow the programmer to control which Waffle features a program's source relies on. In order to be effective, a feature test macro must be defined before in- cluding any header files. This can be done either in the compilation com- mand (cc -DMACRO=value) or by defining the macro within the source code be- fore including any headers. Specification of feature test macro requirements in manual pages When a function requires that a feature test macro be defined, the manual page docments it in the SYNOPSIS. When an enum or macro requires that a feature test macro be defined, the manual page documents it either in the SYNOPSIS or where the enum or macro first appears in the page. List of feature test macros WAFFLE_API_VERSION (since waffle 1.3) This macro controls the API version exposed by Waffle's headers. The value ((major << 8) | minor) exposes the API of Waffle major.minor. For example, the value 0x0103 exposes the API of Waffle 1.3. If this macro is undefined, then the headers expose the API of Waffle 1.2. WAFFLE_API_EXPERIMENTAL This macro exposes experimental features in Waffle's headers. Experi- mental features may be altered or removed without notice and do not be- long to Waffle's stable API. ISSUES Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues. SEE ALSO waffle(7) feature_test_macros(7) AUTHOR Chad Versace <chad.versace@linux.intel.com> Former maintainer COPYRIGHT Copyright (C) 2013 Intel This manual page is licensed under the Creative Commons Attribution-Share- Alike 3.0 United States License (CC BY-SA 3.0). To view a copy of this li- cense, visit http://creativecommons.org.license/by-sa/3.0/us. waffle 08/27/2026 WAFFLE_FEATURE_TEST_(7)
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=waffle_feature_test_macros&sektion=7&manpath=FreeBSD+Ports+15.1.quarterly>