mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
os: move defining LOCK_SERVER into meson
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1320>
This commit is contained in:
committed by
Marge Bot
parent
ab701418b2
commit
69b57fd01f
@@ -176,6 +176,7 @@ conf_data.set('HAVE_VASPRINTF', cc.has_function('vasprintf') ? '1' : false)
|
||||
conf_data.set('HAVE_VSNPRINTF', cc.has_function('vsnprintf') ? '1' : false)
|
||||
conf_data.set('HAVE_WALKCONTEXT', cc.has_function('walkcontext') ? '1' : false)
|
||||
conf_data.set('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>') ? '1' : false)
|
||||
conf_data.set('LOCK_SERVER', host_machine.system() != 'windows' ? '1' : false)
|
||||
|
||||
# Don't let X dependencies typedef 'pointer'
|
||||
conf_data.set('_XTYPEDEF_POINTER', '1')
|
||||
|
||||
Reference in New Issue
Block a user