LOCALE compiler option

As of z/OS® V1R9 XL C/C++, the __LOCALE__ macro is defined to the name of the compile-time locale. If you specified LOCALE(strinf string literal), the compiler uses the runtime function setlocale(LC_ALL "string literal") to determine the name of the compile-time locale. If you do not use the LOCALE compiler option, the macro is undefined.

Prior to z/OS V1R9 XL C/C++, the __LOCALE__ macro was defined to "" when the LOCALE option was specified without a suboption.