2002-09-20 21:16:50 +04:00
|
|
|
#ifdef CHECK_FUNCTION_EXISTS
|
|
|
|
|
|
|
|
char CHECK_FUNCTION_EXISTS();
|
|
|
|
|
2004-04-14 23:56:39 +04:00
|
|
|
int main(int ac, char*av[])
|
2002-09-20 21:16:50 +04:00
|
|
|
{
|
2004-04-14 23:56:39 +04:00
|
|
|
int ret = 0;
|
2002-09-20 21:16:50 +04:00
|
|
|
CHECK_FUNCTION_EXISTS();
|
2004-04-14 23:56:39 +04:00
|
|
|
if(ac > 100)
|
|
|
|
{
|
|
|
|
ret = *av[0];
|
|
|
|
}
|
|
|
|
return ret;
|
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 */
|