Global variables are not evil, and especially this one is constant.
Let's just use the extern + macro approach, which introduces minimum overhead, and is also maintainable.