Skip to content

Commit

Permalink
- Added build checks on whether to use old or newer style of LV2 incl…
Browse files Browse the repository at this point in the history
…ude headers. (final)
  • Loading branch information
rncbc committed Jan 25, 2024
1 parent 3627030 commit 667225b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/synthv1_lv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "synthv1_programs.h"
#include "synthv1_controls.h"

#ifdef CONFIG_OLD_HEADERS
#ifdef CONFIG_LV2_OLD_HEADERS
#include "lv2/lv2plug.in/ns/ext/midi/midi.h"
#include "lv2/lv2plug.in/ns/ext/time/time.h"
#include "lv2/lv2plug.in/ns/ext/atom/util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/synthv1_lv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "synthv1.h"

#ifdef CONFIG_OLD_HEADERS
#ifdef CONFIG_LV2_OLD_HEADERS
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
Expand Down

0 comments on commit 667225b

Please sign in to comment.