Sprinkle some magic

Fun with C99 pre-processor.