I have two versions of a C++ compiler installed on my computer. One of them recognizes the __COUNTER__
macro and the other does not.
After doing some research to make the program compile in both, I have yet to come across the macro definition for __COUNTER__
. Is this some special macro done by the compiler or can I copy the definition for __COUNTER__
into my source code? If I can copy it, what is the code I need?