mirror of
https://github.com/reactos/CMake.git
synced 2025-01-18 17:35:03 +00:00
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}>
|
||||
|
||||
#ifdef __CLASSIC_C__
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user