summaryrefslogtreecommitdiff
path: root/libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-15 18:32:03 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-15 18:32:03 +0100
commitcb3baab306e5951dc3a176fd9061f596a05b4729 (patch)
tree1074fd193e9be7e62aa431effde391213705fc36 /libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in
parentc10a5c533a5b71c03f0e8d52dea81eb77dbebfd7 (diff)
downloadtuxcmd-modules-cb3baab306e5951dc3a176fd9061f596a05b4729.tar.xz
Rebase libarchive to 2.7.1
Diffstat (limited to 'libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in')
-rw-r--r--libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in b/libarchive/libarchive-2.7.1/build/cmake/CheckFuncs_stub.c.in
new file mode 100644
index 0000000..50da414
--- /dev/null
+++ b/libarchive/libarchive-2.7.1/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
+}