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