Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 5aaee1f

Browse files
committed
btl/openib: fix #if vs #ifdef
(back-ported from commit open-mpi/ompi@d5a2ac6) Conflicts: opal/mca/btl/openib/btl_openib_component.c
1 parent 345d105 commit 5aaee1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/openib/btl_openib_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ static int init_one_port(opal_list_t *btl_list, mca_btl_openib_device_t *device,
780780
#if HAVE_DECL_IBV_ATOMIC_HCA
781781
openib_btl->atomic_ops_be = false;
782782

783-
#if HAVE_STRUCT_IBV_EXP_DEVICE_ATTR_EXT_ATOM
783+
#ifdef HAVE_STRUCT_IBV_EXP_DEVICE_ATTR_EXT_ATOM
784784
/* check that 8-byte atomics are supported */
785785
if (!(device->ib_exp_dev_attr.ext_atom.log_atomic_arg_sizes & (1<<3ull))) {
786786
openib_btl->super.btl_flags &= ~MCA_BTL_FLAGS_ATOMIC_FOPS;

0 commit comments

Comments
 (0)