mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-30 20:06:52 -05:00
replace libfuse's autoconf with makefile
This commit is contained in:
parent
8b0342067c
commit
95c0cc741d
98 changed files with 878 additions and 18388 deletions
10
libfuse/ecfd/tests/HAVE_FORK.c
Normal file
10
libfuse/ecfd/tests/HAVE_FORK.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
(void)fork;
|
||||
|
||||
return 0;
|
||||
}
|
||||
11
libfuse/ecfd/tests/HAVE_SPLICE.c
Normal file
11
libfuse/ecfd/tests/HAVE_SPLICE.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
|
||||
int
|
||||
main(int argc,
|
||||
char *argv[])
|
||||
{
|
||||
(void)splice;
|
||||
|
||||
return 0;
|
||||
}
|
||||
14
libfuse/ecfd/tests/HAVE_STRUCT_STAT_ST_ATIM.c
Normal file
14
libfuse/ecfd/tests/HAVE_STRUCT_STAT_ST_ATIM.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int
|
||||
main(int argc,
|
||||
char *argv[])
|
||||
{
|
||||
struct stat st;
|
||||
|
||||
(void)st.st_atim;
|
||||
|
||||
return 0;
|
||||
}
|
||||
11
libfuse/ecfd/tests/HAVE_UTIMENSAT.c
Normal file
11
libfuse/ecfd/tests/HAVE_UTIMENSAT.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int
|
||||
main(int argc,
|
||||
char *argv[])
|
||||
{
|
||||
(void)utimensat;
|
||||
|
||||
return 0;
|
||||
}
|
||||
12
libfuse/ecfd/tests/HAVE_VMSPLICE.c
Normal file
12
libfuse/ecfd/tests/HAVE_VMSPLICE.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <fcntl.h>
|
||||
#include <sys/uio.h>
|
||||
|
||||
int
|
||||
main(int argc,
|
||||
char *argv[])
|
||||
{
|
||||
(void)vmsplice;
|
||||
|
||||
return 0;
|
||||
}
|
||||
4
libfuse/ecfd/tests/static_assert.h
Normal file
4
libfuse/ecfd/tests/static_assert.h
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
#define STATIC_ASSERT(condition) \
|
||||
((void)sizeof(char[1 - 2*!(condition)]))
|
||||
Loading…
Add table
Add a link
Reference in a new issue