Define PT_EI as extern inline is not yet defined. Use PT_EI in extern