mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
Revert 9a82f5c, bring back Cygwin support.
Brought back the code removed in that commit so that we can bring back Cygwin support. Small changes are done in the process of resolving conflicts against the current head. Some checks have not been reverted, because they were not necessary anymore. Signed-off-by: b-aaz <b-aazbsd@proton.me>
This commit is contained in:
@@ -395,6 +395,8 @@ xwin_data = configuration_data()
|
||||
xwin_data.set_quoted('DEFAULT_LOGDIR', log_dir)
|
||||
xwin_data.set('HAS_WINSOCK', host_machine.system() == 'windows' ? '1' : false,
|
||||
description: 'Use Windows sockets')
|
||||
xwin_data.set('HAS_DEVWINDOWS', host_machine.system() == 'cygwin' ? '1' : false,
|
||||
description: 'Has /dev/windows for signaling new win32 messages')
|
||||
xwin_data.set('RELOCATE_PROJECTROOT', host_machine.system() == 'windows' ? '1' : false,
|
||||
description: 'Make paths relative to the xserver installation location')
|
||||
xwin_data.set10('ENABLE_DEBUG', enable_debugging)
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
/* Winsock networking */
|
||||
#mesondefine HAS_WINSOCK
|
||||
|
||||
/* Cygwin has /dev/windows for signaling new win32 messages */
|
||||
#mesondefine HAS_DEVWINDOWS
|
||||
|
||||
/* Switch on debug messages */
|
||||
#mesondefine ENABLE_DEBUG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user