Skip to content

Commit

Permalink
Fix macOS build when called externally
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed May 23, 2024
1 parent feaa5d3 commit 8ac24f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions distrho/DistrhoUI_macOS.mm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
#include "src/DistrhoPluginChecks.h"
#include "src/DistrhoDefines.h"

#define Point CocoaPoint
#define Size CocoaSize
#import <Cocoa/Cocoa.h>
#undef Point
#undef Size

#if DISTRHO_UI_FILE_BROWSER
# define DISTRHO_FILE_BROWSER_DIALOG_HPP_INCLUDED
Expand Down

0 comments on commit 8ac24f8

Please sign in to comment.