Otherwise I guess you need the classic solution with some character legal in C macro names:
#ifdef __MVS__ #define MACRONAME __macroname__ #else #define MACRONAME @macroname@ #endif Looks to me like @ is legal in symbol names, but I could easily be wrong. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ze'ev Atlas Sent: Sunday, September 16, 2018 10:06 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: C macro processor - supply exteranl values - emulating CMake This seems to be a good idea I will try to do: DEF(@xxx@=1) and see if it works As for Gil's question, yeah it is an open source (PCRE2) that is usually dealt with by gcc and make. If the idea above worls themn I am done ZA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN