How to add custom define macro to Unreal Engine?

Don’t know how, but after a while the intellisense suddenly started working.