I have a line in my code that looks like this:
#ifndef MACRO(n)
This actually works fine on most compilers. However, this fails on Solaris, because the official syntax is # ifndef identifier new-line groupopt and parentheses are not allowed in identifiers.
What is the proper way to check whether this macro is defined?
ifdef MACRO. You want to know specifically if it is a function macro?