added macro for defining whether to use tr1 or not