What is the correct value of WITH_EDITOR in a cooked game using the development configuration?

It should be #if WITH_EDITOR, not #ifdef. WITH_EDITOR is always defined, either 1 or 0.