fixed define constant, formatting

I was debugging The Ubyssey's site with errors turned on and saw that the define was implicitly inferred.
Then proceeded to run the code through an autoformatter, merge is up to you.