XTE_ENCODING

Defined in header <xte/preproc/encoding.hpp>

Macros for detecting the current character encoding. Definitions are mutually exclusive.

Replace NAME with one of: ASCII, EBCDIC, CP1036.


Definitions

#define XTE_ENCODING_NAME /* boolean integer literal */



Example

#if XTE_ENCODING_ASCII
	yup
#else
	nop
#endif
Possible preprocessor output:
yup
[View in Compiler Explorer]