aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2013-12-23 13:07:46 +0100
committerJan Djärv2013-12-23 13:07:46 +0100
commit30143e3d9b8cf49283f42e71441ab0f2e6dd8c33 (patch)
treec3b923a1fa33c287faf0c99faf45fbb982daf46c /src
parent44fdad1ceb063bdb1f623a05bb8c664bdf9a24d0 (diff)
downloademacs-30143e3d9b8cf49283f42e71441ab0f2e6dd8c33.tar.gz
emacs-30143e3d9b8cf49283f42e71441ab0f2e6dd8c33.zip
* src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP.
Fixes: debbugs:16210
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/conf_post.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8a521a585b6..04b4cab3ddb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12013-12-23 Jan Djärv <jan.h.d@swipnet.se>
2
3 * conf_post.h: Use unsigned it for bool_bf if GNUSTEP (Bug#16210).
4
12013-12-23 Glenn Morris <rgm@gnu.org> 52013-12-23 Glenn Morris <rgm@gnu.org>
2 6
3 * lread.c (Fload): Mention load-prefer-newer in doc. 7 * lread.c (Fload): Mention load-prefer-newer in doc.
diff --git a/src/conf_post.h b/src/conf_post.h
index 5e738e4d6b0..66dd9a36f00 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -34,8 +34,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34 34
35#include <stdbool.h> 35#include <stdbool.h>
36 36
37/* The pre-C99 <stdbool.h> emulation doesn't work for bool bitfields. */ 37/* The pre-C99 <stdbool.h> emulation doesn't work for bool bitfields.
38#if __STDC_VERSION__ < 199901 38 Nor does compiling Objective-C with standard GCC. */
39#if __STDC_VERSION__ < 199901 || NS_IMPL_GNUSTEP
39typedef unsigned int bool_bf; 40typedef unsigned int bool_bf;
40#else 41#else
41typedef bool bool_bf; 42typedef bool bool_bf;