Skip to content

Commit 252fadf

Browse files
committed
ompi: fix #if vs #ifdef HAVE___MALLOC_INITIALIZE_HOOK usage
1 parent 19a1837 commit 252fadf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/runtime/ompi_mpi_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
#include "ompi/runtime/ompi_cr.h"
101101

102102
/* newer versions of gcc have poisoned this deprecated feature */
103-
#if HAVE___MALLOC_INITIALIZE_HOOK
103+
#ifdef HAVE___MALLOC_INITIALIZE_HOOK
104104
#include "opal/mca/memory/base/base.h"
105105
/* So this sucks, but with OPAL in its own library that is brought in
106106
implicity from libmpi, there are times when the malloc initialize

0 commit comments

Comments
 (0)