This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cygwin: fix __x86_64__ conditional in stdint.h


On Mar 10 11:26, Yaakov Selkowitz wrote:
> Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
> ---
>  winsup/cygwin/ChangeLog        | 4 ++++
>  winsup/cygwin/include/stdint.h | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
> index 550490a..cd2dbb9 100644
> --- a/winsup/cygwin/ChangeLog
> +++ b/winsup/cygwin/ChangeLog
> @@ -1,3 +1,7 @@
> +2015-03-10  Yaakov Selkowitz  <yselkowitz@cygwin.com>
> +
> +	* include/stdint.h: Fix __x86_64__ conditional.
> +
>  2015-03-05  Corinna Vinschen  <corinna@vinschen.de>
>  
>  	* tty.h (tty::set_master_ctl_closed): Rename from set_master_closed.
> diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h
> index b670884..94b6b76 100644
> --- a/winsup/cygwin/include/stdint.h
> +++ b/winsup/cygwin/include/stdint.h
> @@ -114,7 +114,7 @@ typedef unsigned long long uintmax_t;
>  #if !defined (__cplusplus) || defined (__STDC_LIMIT_MACROS) \
>      || defined (__INSIDE_CYGWIN__)
>  
> -#if __x86_64__
> +#ifdef __x86_64__
>  # define __I64(n) n ## L
>  # define __U64(n) n ## UL
>  #else

Thanks for catching.  Please apply.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgptYxkdogtMI.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]