Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Modules / CMakeCCompilerABI.c
blobe6a07f4c4ca8b7fb0655d0e8ff26054148a30626
1 #ifdef __cplusplus
2 # error "A C++ compiler has been selected for C."
3 #endif
5 #ifdef __CLASSIC_C__
6 # define const
7 #endif
9 /*--------------------------------------------------------------------------*/
11 #include "CMakeCompilerABI.h"
13 /*--------------------------------------------------------------------------*/
15 #ifdef __CLASSIC_C__
16 int main(argc, argv) int argc; char *argv[];
17 #else
18 int main(int argc, char *argv[])
19 #endif
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;