1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/ardour/fix-platform-detection.patch
2020-12-21 17:53:15 +01:00

14 lines
699 B
Diff

On Alpine __gnu_linux__ doesn't seem to be defined, but __linux__ is.
diff -upr Ardour-6.5.0.orig/libs/vst3/pluginterfaces/base/fplatform.h Ardour-6.5.0/libs/vst3/pluginterfaces/base/fplatform.h
--- Ardour-6.5.0.orig/libs/vst3/pluginterfaces/base/fplatform.h 2020-12-21 12:58:53.793104277 +0100
+++ Ardour-6.5.0/libs/vst3/pluginterfaces/base/fplatform.h 2020-12-21 13:00:52.453542639 +0100
@@ -86,7 +86,7 @@
//-----------------------------------------------------------------------------
// LINUX
//-----------------------------------------------------------------------------
-#elif __gnu_linux__
+#elif __linux__
#define SMTG_OS_LINUX 1
#define SMTG_OS_MACOS 0
#define SMTG_OS_WINDOWS 0