What's the difference between UE_SERVER and WITH_SERVER_CODE

AFAIK UE_SERVER code is still compiled even in non-server builds but WITH_SERVER_CODE is only compiled in server-builds.