diff options
Diffstat (limited to 'contrib/libarchive/build/cmake/CheckFuncs_stub.c.in')
-rw-r--r-- | contrib/libarchive/build/cmake/CheckFuncs_stub.c.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/libarchive/build/cmake/CheckFuncs_stub.c.in b/contrib/libarchive/build/cmake/CheckFuncs_stub.c.in new file mode 100644 index 0000000..50da414 --- /dev/null +++ b/contrib/libarchive/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 +} |