Hmm, n

2014-11-11 7:06 GMT+01:00  <[email protected]>:
> From: 宋冬生 <[email protected]>
>
> See http://msdn.microsoft.com/en-us/library/20y988d2.aspx
> for more details.
> ---
>  mingw-w64-headers/crt/process.h | 11 ++++++++---
>  mingw-w64-headers/crt/stdio.h   | 12 ++++++++++++
>  mingw-w64-headers/crt/wchar.h   | 12 ++++++++----
>  3 files changed, 28 insertions(+), 7 deletions(-)
>
> diff --git a/mingw-w64-headers/crt/process.h b/mingw-w64-headers/crt/process.h
> index 901a886..9b36daa 100644
> --- a/mingw-w64-headers/crt/process.h
> +++ b/mingw-w64-headers/crt/process.h
> @@ -78,8 +78,8 @@ extern "C" {
>    int __cdecl system(const char *_Command);
>  #endif
>
> -#ifndef _WPROCESS_DEFINED
> -#define _WPROCESS_DEFINED
> +#ifndef _WEXEC_DEFINED
> +#define _WEXEC_DEFINED
>    _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
> @@ -88,6 +88,10 @@ extern "C" {
>    _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList,const wchar_t *const *_Env);
>    _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList);
>    _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList,const wchar_t *const *_Env);
> +#endif
> +
> +#ifndef _WSPAWN_DEFINED
> +#define _WSPAWN_DEFINED
>    _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const 
> wchar_t *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
> @@ -96,11 +100,12 @@ extern "C" {
>    _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
>    _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList);
>    _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
> +#endif
> +
>  #ifndef _CRT_WSYSTEM_DEFINED
>  #define _CRT_WSYSTEM_DEFINED
>    _CRTIMP int __cdecl _wsystem(const wchar_t *_Command);
>  #endif
> -#endif
>
>    void __cdecl __security_init_cookie(void);
>  #if (defined(_X86_) && !defined(__x86_64))
> diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h
> index 32bcca1..825281f 100644
> --- a/mingw-w64-headers/crt/stdio.h
> +++ b/mingw-w64-headers/crt/stdio.h
> @@ -950,6 +950,18 @@ void __cdecl __mingw_str_free(void *ptr);
>
>  #endif /* __MINGW_MBWC_CONVERT_DEFINED */
>
> +#ifndef _WSPAWN_DEFINED
> +#define _WSPAWN_DEFINED
> +  _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const 
> wchar_t *_ArgList,...);
> +  _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
> +  _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
> +  _CRTIMP intptr_t __cdecl _wspawnlpe(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
> +  _CRTIMP intptr_t __cdecl _wspawnv(int _Mode,const wchar_t *_Filename,const 
> wchar_t *const *_ArgList);
> +  _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
> +  _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList);
> +  _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
> +#endif
> +
>  #ifdef __cplusplus
>  }
>  #endif
> diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h
> index 3fbd17f..88cb24c 100644
> --- a/mingw-w64-headers/crt/wchar.h
> +++ b/mingw-w64-headers/crt/wchar.h
> @@ -300,9 +300,8 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A pointer 
> to an array of FILE */
>    _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale);
>  #endif
>
> -#ifndef _WPROCESS_DEFINED
> -#define _WPROCESS_DEFINED
> -
> +#ifndef _WEXEC_DEFINED
> +#define _WEXEC_DEFINED
>    _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const wchar_t 
> *_ArgList,...);
> @@ -311,6 +310,10 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[];        /* A 
> pointer to an array of FILE */
>    _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList,const wchar_t *const *_Env);
>    _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList);
>    _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const wchar_t 
> *const *_ArgList,const wchar_t *const *_Env);
> +#endif
> +
> +#ifndef _WSPAWN_DEFINED
> +#define _WSPAWN_DEFINED
>    _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const 
> wchar_t *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
>    _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *_ArgList,...);
> @@ -319,11 +322,12 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[];       /* A 
> pointer to an array of FILE */
>    _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
>    _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList);
>    _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t 
> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
> +#endif
> +
>  #ifndef _CRT_WSYSTEM_DEFINED
>  #define _CRT_WSYSTEM_DEFINED
>    _CRTIMP int __cdecl _wsystem(const wchar_t *_Command);
>  #endif
> -#endif
>
>  #ifndef _WCTYPE_INLINE_DEFINED
>  #undef _CRT_WCTYPE_NOINLINE
> --
> 2.1.2
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to