view tests/mpp/badmac21.c @ 12:aab9ff6af791

Strengthen the build hack for non-DOS targets.
author David A. Holland
date Tue, 31 May 2022 00:58: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