Is there a compile time version check for the unreal engine?

I’m looking for something like you can do to check gcc versions at compile time.

ie.)

#if GCC_VERSION >= 4.2
 // version specific code here
 #endif

Is there an equivalent UNREAL_ENGINE_VERSION macro?