Cross platform function visibility macro instead of windows/msvc specific in sp's tr_init.cpp.