Is there a standard IBM z/OS XLC macro for "is compiling on z/OS"? I looked for __ZOS and __MVS and so forth but did not find anything.
I have code that runs Windows or z/OS and I have just been using #ifdef WIN32 to differentiate the two cases, but now I need code that will run Windows, z/OS or Linux so a Boolean check is no longer adequate. I don't need tremendous granularity - this release versus that release or USS command versus batch - just "is z/OS rather than Windows or Linux." And obviously I could kludge something, but I thought most systems had a standard "this is who I am" macro. Thanks, Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
