Commit Graph

92 Commits

Author SHA1 Message Date
Boris Kolpackov
a9d13e2519 Add test for more tricky SIZEOF_* checks 2022-09-04 12:35:01 +02:00
Boris Kolpackov
2e1a2fe3c1 Fix bug in SIZEOF_PTHREAD_T implementation 2022-09-04 12:34:05 +02:00
Boris Kolpackov
2062ab7e57 Redo SIZEOF_OFF_T using __SIZEOF_SIZE_T__ instead of checking for CPUs 2022-09-04 10:18:57 +02:00
Boris Kolpackov
a64598861f Redo SIZEOF_VOID_P like SIZEOF_POINTER 2022-09-04 09:33:24 +02:00
6e0ee89374 Use #define instead of typedef in ssize_t check to avoid conflicts 2022-09-04 09:02:01 +02:00
ed2375e397 Correct Windows support in number of tests
The following are all supported on Windows:

FCNTL_H
SYS_STAT_H
IN6_ADDR
STRUCT_SOCKADDR_IN6
STRUCT_SOCKADDR_STORAGE
STRUCT_SOCKADDR_STORAGE_SS_FAMILY
2022-09-04 08:51:14 +02:00
Fred Helmesjö
fb04684043 Fix wrong define name in HAVE_STDDEF_H (GH PR #43) 2022-09-02 11:10:56 +02:00
Boris Kolpackov
1f2c1784c8 Fix previously added checks some more (correct couple of wrong file names) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
220e842bb3 Add HAVE_ACCEPT4 (GH PR #42) 2022-09-02 11:10:56 +02:00
Boris Kolpackov
f0bb56a739 Fixup previously added checks (add trailing newline, get rid of C++ comments, etc) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
49a03ff46f Add ssize_t (GH PR #40) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
94fad53de9 Add socklen_t (GH PR #39) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
180b052f7e Add SIZEOF_OFF_T (GH PR #31) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
4b9024013d Add HAVE_AFUNIX_H (GH PR #37) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
c4ec18c503 Add SIZEOF_VOID_P (GH PR #32) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
a31b66b8b7 Add HAVE___func__ and HAVE___FUNCTION__ (GH PR #27) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
c504aa31a4 Add HAVE_DECL_CTL_KERN, HAVE_DECL_KERN_ARND (GH PR #38) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
5f1d305468 Add HAVE_SA_FAMILY_T (GH PR #36) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
a6081c13f4 Add HAVE__GMTIME, HAVE__GMTIME_S, HAVE__GMTIME32, HAVE__GMTIME32_S, HAVE__GMTIME64, HAVE__GMTIME64_S (GH PR #35) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
ad176f5bd4 Add HAVE_STRUCT_ADDRINFO, HAVE_STRUCT_IN6_ADDR, HAVE_STRUCT_SOCKADDR_IN6, HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN, HAVE_STRUCT_SOCKADDR_IN_SIN_LEN, HAVE_STRUCT_SOCKADDR_UN, HAVE_STRUCT_SOCKADDR_STORAGE, HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY, HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY, HAVE_STRUCT_LINGER (GH PR #34) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
13e255d98b Add HAVE_STDDEF_H and HAVE_STDARG_H (#33) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
e2c881db6c Add HAVE_SIGACTION, HAVE_STRSEP, HAVE_STRTOK, HAVE_STRTOK_R, HAVE_STRTOL, HAVE_STRTOLL (#30) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
3a081e3697 Add HAVE_GETHOSTBYNAME_T* (GH PR #29) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
dbeacaffd4 Add HAVE_GETENV, HAVE_SETENV, HAVE_UNSETENV, HAVE_PUTENV, HAVE_GETRLIMIT, HAVE_SETRLIMIT, HAVE_SETFD (GH PR #28) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
98ca18573e Add HAVE_SLEEP, HAVE_USLEEP, HAVE_NANOSLEEP (GH PR #26) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
0745c11a0b Add HAVE_VASPRINTF (GH PR #25) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
f6498ae4d5 Add HAVE_UMASK (GH PR #23) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
3b7b79fe78 Add HAVE_PIPE, HAVE_PIPE2 (GH PR #22) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
cc385bb874 Add HAVE_SYS_*_H, HAVE_SELECT, HAVE_SENDFILE, HAVE_SYSCLT (GH PR #21) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
0364b16e8c Add SIZEOF_{SHORT,INT,LONGLONG,PTHREAD_T} (GH PR #20) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
7d2082cbb2 Add HAVE_STDINT_H, HAVE_*INT*_T (GH PR #19) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
30bc3f72c0 Add HAVE_TIMERFD_CREATE (GH PR #18) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
995f06fd3a Add HAVE_TIMERADD, HAVE_TIMERCLEAR, HAVE_TIMERISSET (GH PR #17) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
0132c118e5 Add HAVE_ERRNO_H (GH PR #16) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
0f32169884 Add HAVE_MACH_ABSOLUTE_TIME and friends (GH PR #15) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
d16544b283 Add HAVE_ISSETUGID (GH PR #14) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
25d6ba5272 Add HAVE_INTTYPES_H (GH PR #13) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
6539a6f425 Add HAVE_IFADDRS_H (GH PR #12) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
5019f52213 Add HAVE_FCNT (GH PR #11) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
0b15ad17b9 Add HAVE_PORT_H, HAVE_PORT_CREATE (GH PR #10) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
858a6d0bf2 Add HAVE_EPOLL, HAVE_DEVPOLL, HAVE_KQUEUE, HAVE_WORKING_KQUEUE, HAVE_EPOLL_CREATE, HAVE_EPOLL_CREATE1 (GH PR #9) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
3ce4b51020 Add HAVE_FD_MASK (GH PR #8) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
675db37eb9 Add HAVE_NETDB_H (GH PR #7) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
8393bc75ec Add HAVE_GETRANDOM (GH PR #6) 2022-09-02 11:10:56 +02:00
Fred Helmesjö
53976a10e9 Add HAVE_ARPA_INET_H, HAVE_INET_NTOP, HAVE_INET_PTON, HAVE_NETINET_IN_H, HAVE_NETINET_IN6_H, HAVE_NETINET_TCP_H (GH PR #5) 2022-09-02 11:10:56 +02:00
Emil Rosenquist
905f98df13 Add GETADDRINFO, GETEGID, GETEUID, GETIFADDRS, GETPROTOBYNUMBER, GETSERVBYNAME, GETTIMEOFDAY (GH PR #4) 2022-09-02 11:10:56 +02:00
cae127d2d9 Add HAVE_ARC4RANDOM, HAVE_ARC4RANDOM_ADDRANDOM, HAVE_ARC4RANDOM_BUF (GH PR #3) 2022-09-02 11:10:16 +02:00
EmilRosenquist
1e723b34c7 Add HAVE_GETNAMEINFO (GH PR #2) 2022-09-02 10:50:49 +02:00
Boris Kolpackov
ed653f0cc2 Add ability to specify substitutions as key-value pairs 2022-09-02 10:46:23 +02:00
Boris Kolpackov
48fb7e2cc9 Change version to 0.2.0-a.0.z 2022-09-01 10:43:45 +02:00