your suggestion donbock of prefixing __MODULE__ is brilliant and i was trying that but it seems that when I use ## to combine __MODULE__, which is the name of the module like moduleA (just plain, not a string) with something like ID_ there is a prescendence issue and it doesn't work:
Code:
#define __MODULE__ moduleA #define MODULE (ID_ ## __MODULE__) // so want to test that ID_moduleA
Leave a comment: