[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115709: * src/conf_post.h: Use unsigned it for bool
From: |
Jan D. |
Subject: |
[Emacs-diffs] trunk r115709: * src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP. |
Date: |
Mon, 23 Dec 2013 12:07:48 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115709
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16210
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Mon 2013-12-23 13:07:46 +0100
message:
* src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/conf_post.h conf_post.h-20120730211826-q0qbxxwh2emw52hd-1
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-12-23 02:54:28 +0000
+++ b/src/ChangeLog 2013-12-23 12:07:46 +0000
@@ -1,3 +1,7 @@
+2013-12-23 Jan Djärv <address@hidden>
+
+ * conf_post.h: Use unsigned it for bool_bf if GNUSTEP (Bug#16210).
+
2013-12-23 Glenn Morris <address@hidden>
* lread.c (Fload): Mention load-prefer-newer in doc.
=== modified file 'src/conf_post.h'
--- a/src/conf_post.h 2013-12-14 21:36:44 +0000
+++ b/src/conf_post.h 2013-12-23 12:07:46 +0000
@@ -34,8 +34,9 @@
#include <stdbool.h>
-/* The pre-C99 <stdbool.h> emulation doesn't work for bool bitfields. */
-#if __STDC_VERSION__ < 199901
+/* The pre-C99 <stdbool.h> emulation doesn't work for bool bitfields.
+ Nor does compiling Objective-C with standard GCC. */
+#if __STDC_VERSION__ < 199901 || NS_IMPL_GNUSTEP
typedef unsigned int bool_bf;
#else
typedef bool bool_bf;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115709: * src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP.,
Jan D. <=