Hi!
I don't have that probem, because I have all enums in separate script.
So, I dont scatter macros and enums all across the code, but keep them in two scripts "macros" and "enums". I could also put them together in one script.
And you don't have to call those scripts anywhere, because enums and macros are set by a pre-processor. When compiler kicks in, your macros and enums are already set.
If you reorganize your project like this, you won't have this issue.
Hope it helps.