meson: rename symbol MITSHM to CONFIG_MITSHM

some bit better naming for config symbols.
Yet leaving the old one defined, until all drivers have kept up.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-01 19:52:18 +02:00
committed by Enrico Weigelt
parent 34039b29c6
commit bbabd96e6c
13 changed files with 69 additions and 66 deletions

View File

@@ -39,9 +39,9 @@
DevPrivateKeyRec exaScreenPrivateKeyRec;
#ifdef MITSHM
#ifdef CONFIG_MITSHM
static ShmFuncs exaShmFuncs = { NULL, NULL };
#endif
#endif /* CONFIG_MITSHM */
/**
* exaGetPixmapOffset() returns the offset (in bytes) within the framebuffer of
@@ -910,12 +910,12 @@ exaDriverInit(ScreenPtr pScreen, ExaDriverPtr pScreenInfo)
wrap(pExaScr, ps, AddTraps, ExaCheckAddTraps);
}
#ifdef MITSHM
#ifdef CONFIG_MITSHM
/*
* Don't allow shared pixmaps.
*/
ShmRegisterFuncs(pScreen, &exaShmFuncs);
#endif
#endif /* CONFIG_MITSHM */
/*
* Hookup offscreen pixmaps
*/