This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH] cygwin: fix __x86_64__ conditional in stdint.h
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 10 Mar 2015 11:26:32 -0500
- Subject: [PATCH] cygwin: fix __x86_64__ conditional in stdint.h
- Authentication-results: sourceware.org; auth=none
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
--
2.1.4