DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit e46ae51af7029d63ff81e45cf5aa4d94204648d9
parent 2f560d400acc36f5a6baffd9fbc34e27889f3c81
Author: falkTX <falktx@falktx.com>
Date:   Sun,  8 Aug 2021 15:55:18 +0100

Fix old macOS compat

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdgl/src/pugl.cpp | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/dgl/src/pugl.cpp b/dgl/src/pugl.cpp @@ -110,6 +110,10 @@ START_NAMESPACE_DGL # define PuglWrapperView DISTRHO_MACOS_NAMESPACE_MACRO(DGL_NAMESPACE, PuglWrapperView) # define PuglWindow DISTRHO_MACOS_NAMESPACE_MACRO(DGL_NAMESPACE, PuglWindow) # endif +# ifndef __MAC_10_9 +# define NSModalResponseOK NSOKButton +typedef NSUInteger NSEventSubtype; +# endif # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wdeprecated-declarations" # import "pugl-upstream/src/mac.m"