-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
General platform-logic refactoring & Haiku support. #1827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This looks pretty good, but something has broken our win32 builds per: -Tres |
There, that should fix shared memory on Windows. |
👍 Since this adds a new |
In lb302, it'd be better to just remove that MIN macro completely and replace it with qMin() to be consistent with rest of our codebase. |
Done. |
@@ -34,7 +34,7 @@ | |||
#include <cmath> | |||
using namespace std; | |||
|
|||
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) | |||
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I wrote in #1822, I think this #if
condition can just be removed and its body enabled on all platforms.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except some OSes may not have these as #defines, so you'll be overriding the OS version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a very valid argument.
@waddlesplash thanks as this cleans things up quite a bit. We'll tag this commit if we have any fallout from a VST perspective. Merging. |
General platform-logic refactoring & Haiku support.
Fixes #1820.