summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIncludeFile.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckIncludeFile.c.in')
-rw-r--r--Modules/CheckIncludeFile.c.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/CheckIncludeFile.c.in b/Modules/CheckIncludeFile.c.in
index 40441f1..ddfbee8 100644
--- a/Modules/CheckIncludeFile.c.in
+++ b/Modules/CheckIncludeFile.c.in
@@ -1,6 +1,13 @@
#include <${CHECK_INCLUDE_FILE_VAR}>
+#ifdef __CLASSIC_C__
int main()
{
return 0;
}
+#else
+int main(void)
+{
+ return 0;
+}
+#endif