Sanitized macros (to be tested)

related: https://trac.paradoxsystems.net/changeset/15259