You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
514 B
30 lines
514 B
@CHECK_PROTOTYPE_DEFINITION_HEADER@
|
|
|
|
static void cmakeRequireSymbol(int dummy, ...) {
|
|
(void) dummy;
|
|
}
|
|
|
|
static void checkSymbol(void) {
|
|
#ifndef @CHECK_PROTOTYPE_DEFINITION_SYMBOL@
|
|
cmakeRequireSymbol(0, &@CHECK_PROTOTYPE_DEFINITION_SYMBOL@);
|
|
#endif
|
|
}
|
|
|
|
@CHECK_PROTOTYPE_DEFINITION_PROTO@ {
|
|
return @CHECK_PROTOTYPE_DEFINITION_RETURN@;
|
|
}
|
|
|
|
#ifdef __CLASSIC_C__
|
|
int main() {
|
|
int ac;
|
|
char*av[];
|
|
#else
|
|
int main(int ac, char *av[]) {
|
|
#endif
|
|
checkSymbol();
|
|
if (ac > 1000) {
|
|
return *av[0];
|
|
}
|
|
return 0;
|
|
}
|