Is there an equivalent to AWK sprintf for use in C compiler #define directives?
Thank you @masonthedev. I will work with that answer, and give you credit for it. However, expanding on those individual cases, I would like to add #define LANGSET '1' for each that is a matched case, then at the bottom of that list, add #ifndef LANGSET to have the compile set my definition of a failsafe fallback definition. But for some reason, it is not correctly recognizing that if i use -DNONE , the ifndef is not being triggered. I don't know why.