RTI Connext DDS Micro
Version 2.4.11
|
The include/osapi/osapi_os_<port>.h file contains OS and platform specific definitions used by OSAPI and other modules. To include the platform specific file, define OSAPI_OS_DEF_H as a preprocessor directive.
-DOSAPI_OS_DEF_H=\"osapi_os_<port>.h\"
It should be noted that RTI Connext DDS Micro does not use auto-detection programs to detect the host and target build environment and only relies on predefined macros to determine the target environment. If RTI Connext DDS Micro cannot determine the target environment it is necessary to manually configure the correct OS definition file by defining OSAPI_OS_DEF_H (see above).
The include/osapi/osapi_cc_<compiler>.h file contains compiler specific definitions used by OSAPI and other modules. To include the platform specific file, define OSAPI_CC_DEF_H as a preprocessor directive.
-DOSAPI_CC_DEF_H=\"osapi_cc_<compiler>.h\"
Endianness of some platforms is determined automatically via the platform specific file, but for others either RTI_ENDIAN_LITTLE or RTI_ENDIAN_BIG must be defined manually for little-endian or big-endian, respectively.