From: Jan Djärv Date: Mon, 23 Dec 2013 12:07:46 +0000 (+0100) Subject: * src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~228 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30143e3d9b8cf49283f42e71441ab0f2e6dd8c33;p=emacs.git * src/conf_post.h: Use unsigned it for bool_bf if GNUSTEP. Fixes: debbugs:16210 --- 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;