diff options
| author | Jan Djärv | 2013-12-23 13:07:46 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-12-23 13:07:46 +0100 |
| commit | 30143e3d9b8cf49283f42e71441ab0f2e6dd8c33 (patch) | |
| tree | c3b923a1fa33c287faf0c99faf45fbb982daf46c /src | |
| parent | 44fdad1ceb063bdb1f623a05bb8c664bdf9a24d0 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-12-23 Glenn Morris <rgm@gnu.org> | 5 | 2013-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 | ||
| 39 | typedef unsigned int bool_bf; | 40 | typedef unsigned int bool_bf; |
| 40 | #else | 41 | #else |
| 41 | typedef bool bool_bf; | 42 | typedef bool bool_bf; |