extracting preprocessor defines

Perhaps a better way of extracting preprocessor defines for warpdrive to use.