Re: [PATCH] Cygwin: fix CPU_SET macro visibility

2019-09-14 Thread Ken Brown
On 9/14/2019 12:58 AM, Mark Geisert wrote: > The CPU_SET macros defined in Cygwin's include/sys/cpuset.h must not > be visible in an application's namespace unless _GNU_SOURCE has been > #defined. Internally this means wrapping them in #if __GNU_VISIBLE. > > --- > winsup/cygwin/include/sys/cpus

[PATCH] Cygwin: fix CPU_SET macro visibility

2019-09-13 Thread Mark Geisert
The CPU_SET macros defined in Cygwin's include/sys/cpuset.h must not be visible in an application's namespace unless _GNU_SOURCE has been #defined. Internally this means wrapping them in #if __GNU_VISIBLE. --- winsup/cygwin/include/sys/cpuset.h | 3 +++ 1 file changed, 3 insertions(+) diff --gi