cmake (3.27.7)

(root)/
share/
cmake-3.27/
Modules/
CMakeCCompilerABI.c
       1  #ifdef __cplusplus
       2  #  error "A C++ compiler has been selected for C."
       3  #endif
       4  
       5  #ifdef __CLASSIC_C__
       6  #  define const
       7  #endif
       8  
       9  #include "CMakeCompilerABI.h"
      10  
      11  #ifdef __CLASSIC_C__
      12  int main(argc, argv)
      13  int argc;
      14  char* argv[];
      15  #else
      16  int main(int argc, char* argv[])
      17  #endif
      18  {
      19    int require = 0;
      20    require += info_sizeof_dptr[argc];
      21    require += info_byte_order_big_endian[argc];
      22    require += info_byte_order_little_endian[argc];
      23  #if defined(ABI_ID)
      24    require += info_abi[argc];
      25  #endif
      26    (void)argv;
      27    return require;
      28  }