STYLE: Nightly Version update
[cmake.git] / Modules / CheckFunctionExists.c
blob607b3e8c6abe36e1594ae55773a98b6b0b5ac7fa
1 #ifdef CHECK_FUNCTION_EXISTS
3 char CHECK_FUNCTION_EXISTS();
4 #ifdef __CLASSIC_C__
5 int main(){
6 int ac;
7 char*av[];
8 #else
9 int main(int ac, char*av[]){
10 #endif
11 CHECK_FUNCTION_EXISTS();
12 if(ac > 1000)
14 return *av[0];
16 return 0;
19 #else /* CHECK_FUNCTION_EXISTS */
21 # error "CHECK_FUNCTION_EXISTS has to specify the function"
23 #endif /* CHECK_FUNCTION_EXISTS */