Hi
I'm reading <The C Preprocessor - GUN version> and cannot understand this piece :
Can anybody make an example to illustrate this use?One common, useful use of self-reference is to create a macro which expands to itself. If
you write
#define EPERM EPERM
then the macro EPERM expands to EPERM. Effectively, it is left alone by the preprocessor
whenever it’s used in running text. You can tell that it’s a macro with ‘#ifdef’. You might
do this if you want to define numeric constants with an enum, but have ‘#ifdef’ be true for
each constant.
Thanks!