VST3 SDK update for NetBSD (#9886)

This commit is contained in:
Robin Gareus 2025-02-01 11:27:03 +01:00
parent 728e0c0144
commit b4bf87725e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
$NetBSD: patch-libs_vst3_pluginterfaces_base_fplatform.h,v 1.2 2025/01/31 17:15:11 wiz Exp $
Fix build on *BSD.
--- libs/vst3/pluginterfaces/base/fplatform.h.orig 2024-02-04 02:22:43.806501710 +0000
+++ libs/vst3/pluginterfaces/base/fplatform.h
@@ -86,7 +86,7 @@
//-----------------------------------------------------------------------------
// LINUX
//-----------------------------------------------------------------------------
-#elif __gnu_linux__ || __linux__
+#elif __gnu_linux__ || __linux__ || __FreeBSD__ || __NetBSD__ || __OpenBSD__
#define SMTG_OS_LINUX 1
#define SMTG_OS_MACOS 0
#define SMTG_OS_WINDOWS 0