Consider this program:
enum EPOLL_EVENTS
{
EPOLLONESHOT = 1u << 30,
#define EPOLLONESHOT EPOLLONESHOT
};
The generated code contains a definition for EPOLLONESHOT twice (one for the enum constant, one for the macro).
enum EPOLL_EVENTS
{
EPOLLONESHOT = 1u << 30,
#define EPOLLONESHOT EPOLLONESHOT
};
The generated code contains a definition for EPOLLONESHOT twice (one for the enum constant, one for the macro).