Manifests are used by C/C++ for compile-time changes or inspection.
Here are the defined items:
| Manifest
|
Header file to include
|
Description
|
| __BEGIN_DECLS
|
sys/platform.h
|
Denotes start of C code for a C++ compiled program.
|
| __BIGENDIAN__
|
sys/platform.h
|
Code is compiled for a big-endian target.
|
| __CHAR_SIGNED__
|
sys/platform.h
|
Code is compiled with the char type defaulting to signed.
|
| __CHAR_UNSIGNED__
|
sys/platform.h
|
Code is compiled with the char type defaulting to unsigned.
|
| __END_DECLS
|
sys/platform.h
|
Denotes end of C code for a C++ compiled program
|
| __INT_BITS__
|
sys/platform.h
|
The number of bits in the int datatype.
|
| __LITTLEENDIAN__
|
sys/platform.h
|
Code is compiled for a little-endian target.
|
| __LONG_BITS__
|
sys/platform.h
|
The number of bits in the long datatype.
|
| _NTO_VERSION
|
sys/neutrino.h
|
A version number times 100 (e.g. 2.00 is 200).
|
| __PTR_BITS__
|
sys/platform.h
|
The number of bits in a void pointer.
|
| __OPTIMIZE__
|
sys/platform.h
|
Code is compiled for optimization.
|
| __QNX__
|
N/A
|
The target is for a QNX operating system (QNX 4 or QNX Neutrino).
|
| __QNXNTO__
|
N/A
|
The target is the QNX Neutrino operating system.
|