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/configure.ac | |
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/configure.ac')
-rw-r--r-- | libraries/base/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/configure.ac b/libraries/base/configure.ac index e6c8a9b276..f6816e751e 100644 --- a/libraries/base/configure.ac +++ b/libraries/base/configure.ac @@ -118,6 +118,7 @@ if test "$ac_cv_type_long_long" = yes; then FPTOOLS_CHECK_HTYPE(long long) FPTOOLS_CHECK_HTYPE(unsigned long long) fi +FPTOOLS_CHECK_HTYPE(bool) FPTOOLS_CHECK_HTYPE(float) FPTOOLS_CHECK_HTYPE(double) FPTOOLS_CHECK_HTYPE(ptrdiff_t) |