Browse Source

Fix build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.5
falkTX 1 year ago
parent
commit
497b374848
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 9 additions and 7 deletions
  1. +5
    -7
      source/utils/CarlaMacUtils.hpp
  2. +4
    -0
      source/utils/CarlaMainLoop.hpp

+ 5
- 7
source/utils/CarlaMacUtils.hpp View File

@@ -27,28 +27,26 @@
// don't include Foundation.h here
typedef struct __CFBundle* CFBundleRef;

CARLA_BACKEND_START_NAMESPACE

// --------------------------------------------------------------------------------------------------------------------
// a few public functions

/*
* ...
*/
CARLA_PLUGIN_EXPORT void initStandaloneApplication();
CARLA_API void initStandaloneApplication();

/*
* ...
*/
CARLA_PLUGIN_EXPORT const char* findBinaryInBundle(const char* const bundleDir);
CARLA_API const char* findBinaryInBundle(const char* const bundleDir);

/*
* ...
*/
CARLA_PLUGIN_EXPORT bool removeFileFromQuarantine(const char* const filename);
CARLA_API bool removeFileFromQuarantine(const char* const filename);

// --------------------------------------------------------------------------------------------------------------------
// and now then private stuff

CARLA_BACKEND_START_NAMESPACE

/*
* ...


+ 4
- 0
source/utils/CarlaMainLoop.hpp View File

@@ -40,7 +40,11 @@ bool runMainLoopOnce()
for (;;)
{
event = [NSApp
#ifdef __MAC_10_12
nextEventMatchingMask:NSEventMaskAny
#else
nextEventMatchingMask:NSAnyEventMask
#endif
untilDate:date
inMode:NSDefaultRunLoopMode
dequeue:YES];


Loading…
Cancel
Save