From 30143e3d9b8cf49283f42e71441ab0f2e6dd8c33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Mon, 23 Dec 2013 13:07:46 +0100 Subject: [PATCH] * src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP. Fixes: debbugs:16210 --- src/ChangeLog | 4 ++++ src/conf_post.h | 5 +++-- 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 @@ +2013-12-23 Jan Djärv + + * conf_post.h: Use unsigned it for bool_bf if GNUSTEP (Bug#16210). + 2013-12-23 Glenn Morris * 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 . */ #include -/* The pre-C99 emulation doesn't work for bool bitfields. */ -#if __STDC_VERSION__ < 199901 +/* The pre-C99 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; -- 2.39.2