Browse Source

Remove LinuxSampler headers hack (fixes build with gcc4.8)

tags/1.9.4
falkTX 11 years ago
parent
commit
6194dd6a11
2 changed files with 0 additions and 12 deletions
  1. +0
    -7
      source/backend/plugin/LinuxSamplerPlugin.cpp
  2. +0
    -5
      source/discovery/carla-discovery.cpp

+ 0
- 7
source/backend/plugin/LinuxSamplerPlugin.cpp View File

@@ -19,16 +19,9 @@

#ifdef WANT_LINUXSAMPLER

// fix broken headers
#define old__cplusplus __cplusplus
#undef __cplusplus

#include "linuxsampler/EngineFactory.h"
#include <linuxsampler/Sampler.h>

#define __cplusplus old__cplusplus
#undef old__cplusplus

namespace LinuxSampler {

using CarlaBackend::CarlaEngine;


+ 0
- 5
source/discovery/carla-discovery.cpp View File

@@ -36,12 +36,7 @@
# include <fluidsynth.h>
#endif
#ifdef WANT_LINUXSAMPLER
// fix broken headers
# define TMP__cplusplus __cplusplus
# undef __cplusplus
# include "linuxsampler/EngineFactory.h"
# define __cplusplus TMP__cplusplus
# undef TMP__cplusplus
#endif

#include "juce_audio_basics.h"


Loading…
Cancel
Save