Skip to content

Commit

Permalink
[vst3] More tries for BSD support
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 18, 2024
1 parent f420f6c commit 32ec5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/score-plugin-vst3/Vst3/UI/Linux/PlugFrame.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
#include <cstddef>

#if defined(__linux__)
#if (!(defined(__APPLE__) || defined(_WIN32))) && __has_include(<xcb/xcb.h>)
#include <Vst3/UI/WindowContainer.hpp>

#include <ossia/detail/algorithms.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/score-plugin-vst3/Vst3/UI/WindowContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ inline const char* currentPlatform()
{
#if defined(__APPLE__)
return Steinberg::kPlatformTypeNSView;
#elif defined(__linux__)
return Steinberg::kPlatformTypeX11EmbedWindowID;
#elif defined(_WIN32)
return Steinberg::kPlatformTypeHWND;
#elif (!(defined(__APPLE__) || defined(_WIN32))) && __has_include(<xcb/xcb.h>)
return Steinberg::kPlatformTypeX11EmbedWindowID;
#endif
return "";
}
Expand Down

0 comments on commit 32ec5f4

Please sign in to comment.