Browse Source

Fix LTO build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.2
falkTX 3 years ago
parent
commit
a5bd2b9841
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 11 deletions
  1. +7
    -11
      source/backend/engine/CarlaEngineBridge.cpp

+ 7
- 11
source/backend/engine/CarlaEngineBridge.cpp View File

@@ -19,9 +19,15 @@
# error This file should not be compiled if not building bridge
#endif

// must be first so we can undef CARLA_SAFE_*_RETURN_ERR* macros
#include "CarlaPluginInternal.hpp"
#undef CARLA_SAFE_ASSERT_RETURN_ERR
#undef CARLA_SAFE_ASSERT_RETURN_ERRN
#undef CARLA_SAFE_EXCEPTION_RETURN_ERR
#undef CARLA_SAFE_EXCEPTION_RETURN_ERRN

#include "CarlaEngineClient.hpp"
#include "CarlaEngineInit.hpp"
#include "CarlaPlugin.hpp"

#include "CarlaBackendUtils.hpp"
#include "CarlaBase64Utils.hpp"
@@ -45,16 +51,6 @@ using water::Time;

CARLA_BACKEND_START_NAMESPACE

// -----------------------------------------------------------------------

// just want to access private options...
struct CarlaPlugin::ProtectedData {
CarlaEngine* const engine;
CarlaEngineClient* client;
uint id, hints, options;
// ...etc
};

// -----------------------------------------------------------------------
// Bridge Engine client



Loading…
Cancel
Save