1
1
openmpi/opal/include
KAWASHIMA Takahiro cacd6f389c datatype: Remove #if HAVE_[TYPE] for C99 types
Now Open MPI requires a C99 compiler. Checking availability of
the following types is no more needed.

- `long long` (`signed` and `unsigned`)
- `long double`
- `float _Complex`
- `double _Complex`
- `long double _Complex`

Furthermore, the `#if HAVE_[TYPE]` style checking is not correct.
Availability of C types is checked by `AC_CHECK_TYPES` in `configure.ac`.
`AC_CHECK_TYPES` defines macro `HAVE_[TYPE]` as `1` in `opal_config.h`
if the `[TYPE]` is available. But it does not define `HAVE_[TYPE]`
(instead of defining as `0`) if it is not available. So even if we
need `HAVE_[TYPE]` checking, it should be `#if defined(HAVE_[TYPE])`.

I didn't remove `AC_CHECK_TYPES` for these types in `configure.ac`
since someone may use `HAVE_[TYPE]` macros somewhere.

Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
2018-11-14 09:32:52 +09:00
..
opal atomic/c11: fix include header path 2018-11-07 13:23:28 +09:00
Makefile.am opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
opal_config_bottom.h Fix the optnone attribute, add extension attribute 2017-12-18 19:18:53 -08:00
opal_config_top.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_stdatomic.h opal/atomic: always use C11 atomics if available 2018-09-14 10:51:05 -06:00
opal_stdint.h datatype: Remove #if HAVE_[TYPE] for C99 types 2018-11-14 09:32:52 +09:00