Manifests

QNX SDP8.0C Library ReferenceAPIDeveloper

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 Deprecated. 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 OS). Its value represents the version number times 100 (e.g., 8.0 is 800). See Including OS-specific code in the QNX OS Programmer's Guide.
__QNXNTO__ N/A Deprecated. The target is the QNX Neutrino RTOS.
Page updated: