Revert "Remove unused prima defines"

This reverts commit b94f1263507b58927f4b3ec019ef65695f5b72ce.