mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
build: unify naming for HAVE_* defines
We sometimes used HAS_, sometimes polluted the LIBINPUT_ namespace, etc.
This commit is contained in:
parent
a4a40618ad
commit
86fc2199f8
11 changed files with 22 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ static bool export_gbm_bo(struct gbm_bo *bo,
|
|||
int i;
|
||||
int32_t handle = -1;
|
||||
for (i = 0; i < attribs.n_planes; ++i) {
|
||||
#if HAS_GBM_BO_GET_FD_FOR_PLANE
|
||||
#if HAVE_GBM_BO_GET_FD_FOR_PLANE
|
||||
(void)handle;
|
||||
|
||||
attribs.fd[i] = gbm_bo_get_fd_for_plane(bo, i);
|
||||
|
|
|
|||
|
|
@ -21,5 +21,5 @@ if gbm.found()
|
|||
features += { 'gbm-allocator': true }
|
||||
|
||||
has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm])
|
||||
internal_config.set10('HAS_GBM_BO_GET_FD_FOR_PLANE', has)
|
||||
internal_config.set10('HAVE_GBM_BO_GET_FD_FOR_PLANE', has)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue