Many headers declare it (it can't be declared centrally since preprocessing doesn't cross unit boundaries).
You example is ok afaik, just use := to declare a macro rather than = and {$macro on}