Closed ferdnyc closed 3 years ago
(Traditional include guards might've prevented this, I'm not sure — but probably. Which you could argue is a point in favor of traditional guards over the #pragma once
form JUCE uses, but I'm not so sure. Even if they did prevent the errors, that would've just been enabling poor design, whereas the #pragma once
form forced me to solve this the right way, like I should've from the beginning.)
My recent #118 changed the name of the primary header from
JuceHeader.h
toOpenShotAudio.h
, but also installed that file as a link/copy under the nameJuceHeader.h
for backwards compatibility.Turns out, that's a problem if you happen to mix both
#include
forms in the same project, because you'll end up with errors about symbols being redefined or duplicated. So, this PR replaces the copy/link toJuceHeader.h
with a new stub file that contains only two business lines:That way, nothing breaks if both files are
#included
together.