2008-01-21 23:30:17 +00: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 13:09:45 +00:00
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
int main(argc, argv) int argc; char *argv[];
|
|
|
|
#else
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
#endif
|
2008-01-21 23:30:17 +00:00
|
|
|
{
|
2008-08-07 13:09:45 +00:00
|
|
|
int require = 0;
|
|
|
|
require += info_sizeof_dptr[argc];
|
2008-01-21 23:30:17 +00:00
|
|
|
#if defined(ABI_ID)
|
2008-08-07 13:09:45 +00:00
|
|
|
require += info_abi[argc];
|
2008-01-21 23:30:17 +00:00
|
|
|
#endif
|
2008-08-07 13:09:45 +00:00
|
|
|
(void)argv;
|
|
|
|
return require;
|
2008-01-21 23:30:17 +00:00
|
|
|
}
|