modify macros(RPTxxx, timestamp_assert) in ts.c