Skip to content

Commit 536faf3

Browse files
author
Ralph Castain
committed
Add requested comment
1 parent 57b7c44 commit 536faf3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

config/c_get_alignment.m4

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dnl University of Stuttgart. All rights reserved.
1111
dnl Copyright (c) 2004-2005 The Regents of the University of California.
1212
dnl All rights reserved.
1313
dnl Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
14-
dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
14+
dnl Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
1515
dnl $COPYRIGHT$
1616
dnl
1717
dnl Additional copyrights may follow
@@ -23,6 +23,13 @@ dnl
2323
# ----------------------------------
2424
# Determine datatype alignment.
2525
# First arg is type, 2nd arg is config var to define.
26+
# Now that we require C99 compilers, we include stdbool.h
27+
# in the alignment test so that we can find the definition
28+
# of "bool" when we test for its alignment. We might be able
29+
# to avoid this if we test for alignemtn of _Bool, but
30+
# since we use "bool" in the code, let's be safe and check
31+
# what we use. Yes, they should be the same - but "should" and
32+
# "are" frequently differ
2633
AC_DEFUN([OPAL_C_GET_ALIGNMENT],[
2734
AC_CACHE_CHECK([alignment of $1],
2835
[AS_TR_SH([opal_cv_c_align_$1])],

0 commit comments

Comments
 (0)