newlib-cygwin/winsup/cygwin/include
Corinna Vinschen 2e7332d6bd Cygwin: fix build failure due to redefinition of __restrict in sys/cdefs.h
Commit 3c75fac130 fixed the __restrict definition in sys/cdefs.h,
but uncovered a problem in the definition of lio_listio in Cygwin's
aio.h.  It uses the C99 extension of using the restrict keyword
to define non-overlapping arrays. However, this is not allowed in
C++.

Use the newly defined __restrict_arr from commit e66c63be6b
("sys/cdefs.h: introduce __restrict_arr, as in glibc")

Fixes: 3c75fac130 ("sys/cdefs.h: fix for use __restrict in C++"
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-08-07 16:04:32 +02:00
..
acl
arpa
asm Cygwin: remove miscellaneous 32-bit code 2022-05-29 17:54:32 -04:00
attr
bits Cygwin: __WORDSIZE: Drop 32 bit considerations 2022-08-03 17:48:20 +02:00
cygwin Cygwin: Add ISO C2X functions c8rtomb, mbrtoc8 2023-08-02 16:56:24 +02:00
machine Cygwin: remove some 32-bit-only function definitions 2022-05-29 17:45:52 -04:00
net
netinet Cygwin: Implement GSO/GRO support 2022-05-13 11:11:38 +02:00
ssp
sys Cygwin: Make gcc-specific code in <sys/cpuset.h> compiler-agnostic 2023-07-10 10:42:24 +02:00
a.out.h Cygwin: remove miscellaneous 32-bit code 2022-05-29 17:54:32 -04:00
aio.h Cygwin: fix build failure due to redefinition of __restrict in sys/cdefs.h 2023-08-07 16:04:32 +02:00
byteswap.h
dlfcn.h
endian.h
err.h
error.h
fcntl.h Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
features.h
fnmatch.h
fts.h
getopt.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
glob.h
icmp.h
ifaddrs.h
io.h
lastlog.h
limits.h Cygwin: define CHARCLASS_NAME_MAX 2023-03-01 21:22:56 +01:00
mntent.h
monetary.h
mqueue.h
netdb.h
nl_types.h
paths.h
poll.h
process.h Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
pthread.h Cygwin: implement pthread_rwlock_clockrdlock/pthread_rwlock_clockwrlock 2021-07-29 17:31:31 +02:00
pty.h
regex.h Cygwin: replace regex with latest verbatim FreeBSD version 2023-03-16 11:12:08 +01:00
resolv.h Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
search.h
semaphore.h Cygwin: implement sem_clockwait 2021-07-29 17:13:47 +02:00
sysexits.h
syslog.h
termio.h
tzfile.h
uchar.h Cygwin: Add ISO C2X functions c8rtomb, mbrtoc8 2023-08-02 16:56:24 +02:00
ucontext.h
utmpx.h
wait.h