[newlib-cygwin] cygwin: fix __x86_64__ conditional in stdint.h
Yaakov Selkowitz
yselkowitz@sourceware.org
Tue Mar 10 21:32:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2a6db5083cae9c7f54a72b693bc9e7984d513483
commit 2a6db5083cae9c7f54a72b693bc9e7984d513483
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date: Tue Mar 10 10:44:47 2015 -0500
cygwin: fix __x86_64__ conditional in stdint.h
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diff:
---
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
More information about the Cygwin-cvs
mailing list