Is there anyways to have a define increment every time you use it?
For example
int a = ADEFINE; int b = ADEFINE;
a is 1 and b is 2.
Why not use __LINE__? It's standard C89/C99/C++.
__LINE__