File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 6969# define DISTRHO_PLUGIN_USES_MODGUI 0
7070#endif
7171
72+ #ifndef DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
73+ # error DISTRHO_PLUGIN_USES_CUSTOM_MODGUI undef
74+ // # define DISTRHO_PLUGIN_USES_CUSTOM_MODGUI 0
75+ #endif
76+
7277#if DISTRHO_PLUGIN_HAS_EMBED_UI
7378# if DISTRHO_OS_HAIKU
7479# define DISTRHO_LV2_UI_TYPE " BeUI"
@@ -1218,7 +1223,7 @@ void lv2_generate_ttl(const char* const basename)
12181223 std::cout << " done!" << std::endl;
12191224 }
12201225
1221- #if DISTRHO_PLUGIN_USES_MODGUI
1226+ #if DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
12221227 {
12231228 std::cout << " Writing modgui.ttl..." ; std::cout.flush ();
12241229 std::fstream modguiFile (" modgui.ttl" , std::ios::out);
@@ -1505,7 +1510,7 @@ void lv2_generate_ttl(const char* const basename)
15051510 stylesheetFile.close ();
15061511 std::cout << " done!" << std::endl;
15071512 }
1508- #endif
1513+ #endif // DISTRHO_PLUGIN_USES_MODGUI && !DISTRHO_PLUGIN_USES_CUSTOM_MODGUI
15091514
15101515 // ---------------------------------------------
15111516
You can’t perform that action at this time.
0 commit comments