Skip to content

Commit

Permalink
Only build zyn pretty format on windows, for its symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Jan 22, 2018
1 parent 82e7e1a commit 0aadc15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/native-plugins/zynaddsubfx-src.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ extern "C" {
#undef tlsf_insist

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

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

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

0 comments on commit 0aadc15

Please sign in to comment.