
10 Aug
2011
10 Aug
'11
2:26 p.m.
On 10/08/2011 15:15, damien benoist wrote:
Hi all, Would there be a way to do some "ifdef" inside a macro? Could be in the form of a macro taking 3 args, - 1st being the macro to test the existance of, - 2nd being the value to expand in case 1st arg is a defined macro - 3rd being the value to expand in case 1st arg is not a defined macro
Not really. You can test whether a macro expands to 0 or 1 though.