summaryrefslogtreecommitdiffstats
path: root/mpi/mplogic.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-01-18 10:31:52 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-01-18 10:31:52 -0800
commitd02b3c87d235beae67332e81d99e3069bc518e80 (patch)
treedd850673d313387f97d34f42dc07664bb9375e86 /mpi/mplogic.h
parent04ef5fd846cc43c3b97e5dee9ab102e2e2740608 (diff)
downloadtxr-d02b3c87d235beae67332e81d99e3069bc518e80.tar.gz
txr-d02b3c87d235beae67332e81d99e3069bc518e80.tar.bz2
txr-d02b3c87d235beae67332e81d99e3069bc518e80.zip
configure: improvements related to int_ptr_t.
* configure: We remove the uintptr variable and do not generate the HAVE_UINTPTR_T constant in config.h. This is always 1, and not actually tested anywhere. In situations when uintptr is not established, intptr is also not established and the configure script fails. We simply assume that for whatever type we detect as inptr_t, we can derive the unsigned type. (INT_PTR_MAX): We define this a bit differently; instead of interpolating into the expression the underlying C type, we use the int_ptr_t typedef that the previous lines of config.h establish. (UINT_PTR_MAX): New constant introduced in config.h.
Diffstat (limited to 'mpi/mplogic.h')
0 files changed, 0 insertions, 0 deletions