diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2017-01-18 16:24:17 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-01-18 17:39:48 -0500 |
commit | 0d769d5b96232ee0fe5a44f2ce5717bdb0e7eaa3 (patch) | |
tree | becb8c6897014d5cae795d0c210ee87a67a94ed0 /libraries/base/aclocal.m4 | |
parent | 181688abae5c0b32237a5bd783dfc9667641cce2 (diff) | |
download | haskell-0d769d5b96232ee0fe5a44f2ce5717bdb0e7eaa3.tar.gz |
Add CBool to Foreign.C.Types
This adds a `CBool` type wrapping C99's `bool`, i.e., an `unsigned
char`.
Fixes #13136.
Test Plan: ./validate on Tier-1 platforms
Reviewers: austin, hvr, simonmar, bgamari
Reviewed By: simonmar, bgamari
Subscribers: thomie, erikd
Differential Revision: https://phabricator.haskell.org/D2982
GHC Trac Issues: #13136
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r-- | libraries/base/aclocal.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/aclocal.m4 b/libraries/base/aclocal.m4 index 17b8bca9ce..ece0c6f05e 100644 --- a/libraries/base/aclocal.m4 +++ b/libraries/base/aclocal.m4 @@ -54,6 +54,7 @@ done dnl FPTOOLS_HTYPE_INCLUDES AC_DEFUN([FPTOOLS_HTYPE_INCLUDES], [ +#include <stdbool.h> #include <stdio.h> #include <stddef.h> |