Switched the macro to declare the global type variable as a static, this will allow
it to then be used in either source or header files.