mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Ensure CLAP_ABI is set
This will avoid some potential issues when people try to build this against old CLAP headers.
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
#include "clap-impls/host-proxy.h"
|
||||
#include "common.h"
|
||||
|
||||
// Would be nice to able to do this at build time, but Meson doesn't seem to
|
||||
// support (subproject) dependencies in build time compiler checks
|
||||
#ifndef CLAP_ABI
|
||||
#error The found CLAP dependency does not declare a calling convention on Windows. Building yabridge against these CLAP headers will cause it to malfunction.
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Pointers to all of a CLAP plugin's extension structs. These will be null if
|
||||
* the plugin doesn't support the extensions.
|
||||
|
||||
Reference in New Issue
Block a user