summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in')
-rw-r--r--Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in b/Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in
new file mode 100644
index 0000000..50da414
--- /dev/null
+++ b/Utilities/cmlibarchive/build/cmake/CheckFuncs_stub.c.in
@@ -0,0 +1,16 @@
+#ifdef __STDC__
+#include <limits.h>
+#else
+#include <assert.h>
+#endif
+
+int
+main()
+{
+#if defined ${CHECK_STUB_FUNC_1} || defined ${CHECK_STUB_FUNC_2}
+ return 0;
+#else
+this system have stub
+ return 0;
+#endif
+}