Re: [PATCH v2] Cygwin: Make safe for c89 compilations

2023-07-04 Thread Mark Geisert
Corinna Vinschen wrote: On Jul 4 16:33, Corinna Vinschen wrote: On Jul 3 17:51, Mark Geisert wrote: Four modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines * Add "#include " to make sure __inline

Re: [PATCH v2] Cygwin: Make safe for c89 compilations

2023-07-04 Thread Corinna Vinschen
On Jul 4 16:33, Corinna Vinschen wrote: > On Jul 3 17:51, Mark Geisert wrote: > > Four modifications to include/sys/cpuset.h: > > * Change C++-style comments to C-style also supported by C++ > > * Change "inline" to "__inline" on code lines > > * Add "#include " to make sure __inline is defined

Re: [PATCH v2] Cygwin: Make safe for c89 compilations

2023-07-04 Thread Corinna Vinschen
On Jul 3 17:51, Mark Geisert wrote: > Four modifications to include/sys/cpuset.h: > * Change C++-style comments to C-style also supported by C++ > * Change "inline" to "__inline" on code lines > * Add "#include " to make sure __inline is defined > * Don't declare loop variables on for-loop init

[PATCH v2] Cygwin: Make safe for c89 compilations

2023-07-03 Thread Mark Geisert
Four modifications to include/sys/cpuset.h: * Change C++-style comments to C-style also supported by C++ * Change "inline" to "__inline" on code lines * Add "#include " to make sure __inline is defined * Don't declare loop variables on for-loop init clauses Tested by first reproducing the