He used a 20x Unertl scope and a mount fashioned from scrap aluminum by some Sea-Bees. Because of the .50 BMG's range, and because the US military tended to push back the jungle for a considerable distance from their defensive perimeters, this set-up actually was fairly common in Vietnam.
Despite his distance record having since been eclipsed, Hathcock's shot remains the longest sniper shot that was certifiably taken from a cold bore. Some reports claim that the Canadian sniper's 2(+) mile shot in Iraq was a CBS but there is no substantiation (mission: classified). If it was, I suspect it was a "demonstration" shot using DARPA's self-steering .50 bullet. And the peripheral circumstances surrounding that shot lead me to believe that might have been the case.
The fact that it might have been an old barrel is no handicap (unless you take "old" to also mean "shot out"). The US military bought so many barrels during the two world wars that (both times) the barrel manufacturers flooded the markets with the Pratt & Whitney barrel milling machines, which they found themselves overstocked on when the war(s) ended. The machines are massively overbuilt and the tooling might wear out but the machine itself is essentially immortal. Basically every custom barrel manufacturer in the US still is using a war surplus sine milling machine to cut the rifling in their high-end barrels.
He used a 10x scope
The fact that it might have been an old barrel is no handicap
Talking about the action of a common 50 BMG and the way the head spacing is done on the M2.
but the machine itself is essentially immortal.
Have you ever seen one come apart at the receiver because someone failed to adjust the tolerances correctly when changing bolt carrier group out because it FAILED. Not pretty when that happened from one atop a troop carrier. The gunner might have well been hit by a frag in the face. Of course unless you are talking about the milling machine which does not take in wind drift and even the thermal heat barriers that the bullet trajectory would take when fired for that distance.