2002-09-20 21:16:50 +04:00
|
|
|
#ifdef CHECK_FUNCTION_EXISTS
|
|
|
|
|
|
|
|
char CHECK_FUNCTION_EXISTS();
|
2004-04-15 16:22:19 +04:00
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
int main(){
|
|
|
|
int ac;
|
|
|
|
char*av[];
|
|
|
|
#else
|
|
|
|
int main(int ac, char*av[]){
|
|
|
|
#endif
|
2002-09-20 21:16:50 +04:00
|
|
|
CHECK_FUNCTION_EXISTS();
|
2004-04-15 16:22:19 +04:00
|
|
|
if(ac > 1000)
|
2004-04-14 23:56:39 +04:00
|
|
|
{
|
2004-04-15 16:22:19 +04:00
|
|
|
return *av[0];
|
2004-04-14 23:56:39 +04:00
|
|
|
}
|
2004-04-15 16:22:19 +04:00
|
|
|
return 0;
|
2002-09-20 21:16:50 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#else /* CHECK_FUNCTION_EXISTS */
|
|
|
|
|
|
|
|
# error "CHECK_FUNCTION_EXISTS has to specify the function"
|
|
|
|
|
|
|
|
#endif /* CHECK_FUNCTION_EXISTS */
|