Moved this definition to the #ifdef section where it is used