[Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread Dongsheng Song
OK for apply ? --- mingw-w64-headers/crt/process.h | 3 +++ mingw-w64-headers/crt/unistd.h | 5 + 2 files changed, 8 insertions(+) diff --git a/mingw-w64-headers/crt/process.h b/mingw-w64-headers/crt/process.h index f43befb..5f635c8 100644 --- a/mingw-w64-headers/crt/process.h +++

Re: [Mingw-w64-public] [PATCH] rand_r location

2014-11-07 Thread Kai Tietz
Looks good to me. Please apply to trunk. Regards, Kai -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread Kai Tietz
Hi, 2014-11-07 9:01 GMT+01:00 Dongsheng Song dongsheng.s...@gmail.com: OK for apply ? Patch is ok. Thanks, Kai -- ___ Mingw-w64-public mailing list

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ozkan Sezer
On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: If we define _POSIX_, then getpid (process.h) was hidden. Is it correct ? PS: MSVC 2012 is the last compiler which use _POSIX_, MSVC 2013 do not use _POSIX_ anymore. MSVC 2012/2013 guard getpid with !__STDC__. I believe (but not

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ruben Van Boxem
2014-11-07 9:25 GMT+01:00 Ozkan Sezer seze...@gmail.com: On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: If we define _POSIX_, then getpid (process.h) was hidden. Is it correct ? PS: MSVC 2012 is the last compiler which use _POSIX_, MSVC 2013 do not use _POSIX_ anymore.

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread lh_mouse
Minor suggestion: use the word `DECLARED` instead `DEFINED` please. -- Best regards, lh_mouse 2014-11-07 - 发件人:Dongsheng Song dongsheng.s...@gmail.com 发送日期:2014-11-07 16:01 收件人:mingw64 抄送:

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ozkan Sezer
On 11/7/14, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2014-11-07 9:25 GMT+01:00 Ozkan Sezer seze...@gmail.com: On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: If we define _POSIX_, then getpid (process.h) was hidden. Is it correct ? PS: MSVC 2012 is the last compiler

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ray Donnelly
On Fri, Nov 7, 2014 at 11:10 AM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2014-11-07 9:25 GMT+01:00 Ozkan Sezer seze...@gmail.com: On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: If we define _POSIX_, then getpid (process.h)

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ozkan Sezer
On 11/7/14, Ray Donnelly mingw.andr...@gmail.com wrote: On Fri, Nov 7, 2014 at 11:10 AM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2014-11-07 9:25 GMT+01:00 Ozkan Sezer seze...@gmail.com: On 11/7/14, Dongsheng Song

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread Dongsheng Song
On Fri, Nov 7, 2014 at 4:44 PM, lh_mouse lh_mo...@126.com wrote: Minor suggestion: use the word `DECLARED` instead `DEFINED` please. I don't known which is better:-) Here is some stats: $ grep -r _DEFINED[^A-Z0-9] . | wc -l 26145 $ grep -r _DECLARED[^A-Z0-9] . | wc -l 15

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread Ruben Van Boxem
2014-11-07 14:45 GMT+01:00 Dongsheng Song dongsheng.s...@gmail.com: On Fri, Nov 7, 2014 at 4:44 PM, lh_mouse lh_mo...@126.com wrote: Minor suggestion: use the word `DECLARED` instead `DEFINED` please. I don't known which is better:-) Here is some stats: $ grep -r _DEFINED[^A-Z0-9] . |

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Dongsheng Song
On Fri, Nov 7, 2014 at 7:51 PM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ray Donnelly mingw.andr...@gmail.com wrote: On Fri, Nov 7, 2014 at 11:10 AM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2014-11-07 9:25 GMT+01:00 Ozkan Sezer

Re: [Mingw-w64-public] [PATCH] Copy getpid declaration in process.h to unistd.h

2014-11-07 Thread Dongsheng Song
On Fri, Nov 7, 2014 at 9:48 PM, Ruben Van Boxem vanboxem.ru...@gmail.com wrote: 2014-11-07 14:45 GMT+01:00 Dongsheng Song dongsheng.s...@gmail.com: On Fri, Nov 7, 2014 at 4:44 PM, lh_mouse lh_mo...@126.com wrote: Minor suggestion: use the word `DECLARED` instead `DEFINED` please. I don't

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Ozkan Sezer
On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: On Fri, Nov 7, 2014 at 7:51 PM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ray Donnelly mingw.andr...@gmail.com wrote: On Fri, Nov 7, 2014 at 11:10 AM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ruben Van Boxem

Re: [Mingw-w64-public] getpid issue

2014-11-07 Thread Dongsheng Song
On Sat, Nov 8, 2014 at 12:05 AM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Dongsheng Song dongsheng.s...@gmail.com wrote: On Fri, Nov 7, 2014 at 7:51 PM, Ozkan Sezer seze...@gmail.com wrote: On 11/7/14, Ray Donnelly mingw.andr...@gmail.com wrote: On Fri, Nov 7, 2014 at 11:10 AM, Ozkan