BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers.
This commit is contained in:
parent
7336fff1be
commit
095e975c81
|
@ -1,6 +1,13 @@
|
||||||
#include <${CHECK_INCLUDE_FILE_VAR}>
|
#include <${CHECK_INCLUDE_FILE_VAR}>
|
||||||
|
|
||||||
|
#ifdef __CLASSIC_C__
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue