2008-01-22 02:30:17 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
# error "A C++ compiler has been selected for C."
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
# define const
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#include "CMakeCompilerABI.h"
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
2008-08-07 17:09:45 +04:00
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
int main(argc, argv) int argc; char *argv[];
|
|
|
|
#else
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
#endif
|
2008-01-22 02:30:17 +03:00
|
|
|
{
|
2008-08-07 17:09:45 +04:00
|
|
|
int require = 0;
|
|
|
|
require += info_sizeof_dptr[argc];
|
2008-01-22 02:30:17 +03:00
|
|
|
#if defined(ABI_ID)
|
2008-08-07 17:09:45 +04:00
|
|
|
require += info_abi[argc];
|
2008-01-22 02:30:17 +03:00
|
|
|
#endif
|
2008-08-07 17:09:45 +04:00
|
|
|
(void)argv;
|
|
|
|
return require;
|
2008-01-22 02:30:17 +03:00
|
|
|
}
|