Mercurial > ~dholland > hg > ag > index.cgi
view tests/mpp/badmac21.c @ 14:a02e9434072e
Fix friend declaration for gcc10.
XXX: did not check it against the IBM compiler, might end up needing
XXX: to be conditional.
author | David A. Holland |
---|---|
date | Tue, 31 May 2022 00:59:42 -0400 |
parents | 13d2b8934445 |
children |
line wrap: on
line source
#define ONE 1 #define DEF(x) defined(x) ... undefined, so either yes or no is ok, but error is better #if DEF(ONE) yes #else no #endif