Build differ from Preview

How can I know during runtime if im in build or preview version. This issue is related to my previous topic GLOBAL MACROS for build not working