mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Fix build on Wine 6.8 #103
Wine dropped `WINE_NOWINSOCK`, so now we sadly have to define this globally instead.
This commit is contained in:
+5
-1
@@ -212,7 +212,11 @@ if with_vst3
|
||||
vst3_wine_compiler_options = [
|
||||
# Some stuff from `windows.h` results in conflicting definitions
|
||||
'-DNOMINMAX',
|
||||
'-DWINE_NOWINSOCK',
|
||||
# Winsock conflicts with the Posix sockets API. Before Wine 6.8 there was a
|
||||
# `WINE_NOWINSOCK` that would exclude just `winsock.h` from `windows.h`, but
|
||||
# they got rid of that so we now need to explicitly define the ifdef guards
|
||||
'-D__WINE_WINSOCKAPI_STDLIB_H',
|
||||
'-D_WINSOCKAPI_',
|
||||
]
|
||||
vst3_base_wine_64bit = static_library(
|
||||
'vst3_base_wine_64bit',
|
||||
|
||||
Reference in New Issue
Block a user