gcc/libgomp/config
Jakub Jelinek 42f10ba5b5 libgomp: Don't include limits.h instead of hidden visibility block
sem.h is included in between # pragma GCC visibility push(hidden)
and # pragma GCC visibility pop and includes limits.h there, which
since the introduction of sysconf declaration in recent glibcs
in there causes trouble.  libgomp assumes it is compiled by gcc,
so we don't really need to include limits.h there and can use
-__INT_MAX__ - 1 instead (which clang and icc support too for years).

2021-07-13  Jakub Jelinek  <jakub@redhat.com>
	    Florian Weimer  <fweimer@redhat.com>

	* config/linux/sem.h: Don't include limits.h.
	(SEM_WAIT): Define to -__INT_MAX__ - 1 instead of INT_MIN.
	* config/linux/affinity.c: Include limits.h.
2021-07-13 09:50:49 +02:00
..
accel libgomp: Don't access gomp_sem_t as int using atomics unconditionally 2021-01-18 07:18:46 +01:00
bsd Update copyright years. 2021-01-04 10:26:59 +01:00
darwin Update copyright years. 2021-01-04 10:26:59 +01:00
gcn openmp: Fix up handling of target constructs in offloaded routines [PR100573] 2021-05-26 11:28:42 +02:00
hpux Update copyright years. 2021-01-04 10:26:59 +01:00
linux libgomp: Don't include limits.h instead of hidden visibility block 2021-07-13 09:50:49 +02:00
mingw32 Update copyright years. 2021-01-04 10:26:59 +01:00
nvptx openmp: Fix up handling of target constructs in offloaded routines [PR100573] 2021-05-26 11:28:42 +02:00
posix libgomp: Don't access gomp_sem_t as int using atomics unconditionally 2021-01-18 07:18:46 +01:00
rtems RTEMS: Fix libgomp build 2021-01-18 07:24:56 +01:00
t-aix aix: remove libgomp and libatomic archives before creating FAT archives 2020-10-11 17:30:24 -04:00