Browse Source

FIx old macOS build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.2^0
falkTX 7 months ago
parent
commit
7b8eeef343
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      source/utils/JucePluginWindow.hpp

+ 5
- 3
source/utils/JucePluginWindow.hpp View File

@@ -28,9 +28,11 @@
#if defined(CARLA_OS_LINUX) && defined(HAVE_X11)
# include <X11/Xlib.h>
#elif defined(CARLA_OS_MAC)
# define Component CocoaComponent
# define MemoryBlock CocoaMemoryBlock
# define Point CocoaPoint
# ifdef __MAC_10_12
# define Component CocoaComponent
# define MemoryBlock CocoaMemoryBlock
# define Point CocoaPoint
# endif
# import <Cocoa/Cocoa.h>
# undef Component
# undef MemoryBlock


Loading…
Cancel
Save