fw4spl
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 /*--------------------------------------------------------------------------*/
10 
11 #include "CMakeCompilerABI.h"
12 
13 /*--------------------------------------------------------------------------*/
14 
15 #ifdef __CLASSIC_C__
16 int main(argc, argv) int argc; char *argv[];
17 #else
18 int main(int argc, char *argv[])
19 #endif
20 {
21  int require = 0;
22  require += info_sizeof_dptr[argc];
23 #if defined(ABI_ID)
24  require += info_abi[argc];
25 #endif
26  (void)argv;
27  return require;
28 }