Eliminate pragma by using alternate code.