igwn-cmake-macros 1.4.0
cm_c_bigendian.cmake File Reference

Functions

 cm_c_bigendian ()
 Check if system is bigendian. More...
 

Function Documentation

◆ cm_c_bigendian()

cm_c_bigendian ( )

Check if system is bigendian.

@igwn_group{CCompiler,}

Check if words are stored with the most significant bit first.

The variable WORDS_BIGENDIAN will be set to one (1) if the most significant bit is first, zero (0) otherwise. The variable WORDS_BIGENDIAN can be used in @ substitution.

cm_c_bigendian()
Check if system is bigendian.
Author
Edward Maros
Date
2019-2020