Replace const with define.

For some reason I thought this was OK in newer C versions. I guess not.