2008-10-12 18:41:06 +02:00
|
|
|
#ifndef __cplusplus
|
2018-08-09 18:06:22 +02:00
|
|
|
# error "A C compiler has been selected for C++."
|
2008-10-12 18:41:06 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "CMakeCompilerABI.h"
|
|
|
|
|
2008-10-12 21:55:53 +03:00
|
|
|
int main(int argc, char* argv[])
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
2008-10-12 21:55:53 +03:00
|
|
|
int require = 0;
|
|
|
|
require += info_sizeof_dptr[argc];
|
2021-09-14 00:13:48 +02:00
|
|
|
require += info_byte_order_big_endian[argc];
|
|
|
|
require += info_byte_order_little_endian[argc];
|
2008-10-12 18:41:06 +02:00
|
|
|
#if defined(ABI_ID)
|
2008-10-12 21:55:53 +03:00
|
|
|
require += info_abi[argc];
|
2008-10-12 18:41:06 +02:00
|
|
|
#endif
|
2008-10-12 21:55:53 +03:00
|
|
|
(void)argv;
|
|
|
|
return require;
|
2008-10-12 18:41:06 +02:00
|
|
|
}
|