Browse Source

Only build zyn pretty format on windows, for its symbols

tags/1.9.8
falkTX 8 years ago
parent
commit
0aadc15c16
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      source/native-plugins/zynaddsubfx-src.cpp

+ 5
- 1
source/native-plugins/zynaddsubfx-src.cpp View File

@@ -64,8 +64,10 @@ extern "C" {
#undef tlsf_insist #undef tlsf_insist


#include "zynaddsubfx/rtosc/dispatch.c" #include "zynaddsubfx/rtosc/dispatch.c"
#include "zynaddsubfx/rtosc/pretty-format.c"
#include "zynaddsubfx/rtosc/rtosc.c" #include "zynaddsubfx/rtosc/rtosc.c"
#ifdef CARLA_OS_WIN
# include "zynaddsubfx/rtosc/pretty-format.c"
#endif
} }


// rtosc includes // rtosc includes
@@ -581,6 +583,7 @@ namespace Nio {
} }
#endif // ! SKIP_ZYN_SYNTH #endif // ! SKIP_ZYN_SYNTH


#ifdef CARLA_OS_WIN
rtosc_version rtosc_current_version() rtosc_version rtosc_current_version()
{ {
return ((rtosc_version) { 0, 0, 0 } ); return ((rtosc_version) { 0, 0, 0 } );
@@ -592,3 +595,4 @@ void rtosc_version_print_to_12byte_str(const rtosc_version* v,
snprintf(_12bytes, 12, "%u.%u.%u", snprintf(_12bytes, 12, "%u.%u.%u",
(unsigned)v->major, (unsigned)v->minor, (unsigned)v->revision); (unsigned)v->major, (unsigned)v->minor, (unsigned)v->revision);
} }
#endif

Loading…
Cancel
Save