1@CHECK_PROTOTYPE_DEFINITION_HEADER@ 2 3static void cmakeRequireSymbol(int dummy, ...) { 4 (void) dummy; 5} 6 7static void checkSymbol(void) { 8#ifndef @CHECK_PROTOTYPE_DEFINITION_SYMBOL@ 9 cmakeRequireSymbol(0, &@CHECK_PROTOTYPE_DEFINITION_SYMBOL@); 10#endif 11} 12 13@CHECK_PROTOTYPE_DEFINITION_PROTO@ { 14 return @CHECK_PROTOTYPE_DEFINITION_RETURN@; 15} 16 17#ifdef __CLASSIC_C__ 18int main() { 19 int ac; 20 char*av[]; 21#else 22int main(int ac, char *av[]) { 23#endif 24 checkSymbol(); 25 if (ac > 1000) { 26 return *av[0]; 27 } 28 return 0; 29} 30