Skip to content

Commit 2a8cdd5

Browse files
Damian Rousonzbeekman
authored andcommitted
Cordon off explicit MPI dependence in libcaf.h
(cherry picked from commit 9d881b0)
1 parent 95e2542 commit 2a8cdd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcaf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
3434
#include "libcaf-version-def.h"
3535
#include "libcaf-gfortran-descriptor.h"
3636

37+
#ifdef HAVE_MPI
3738
#include <mpi.h>
39+
#endif
3840

3941
#ifndef __GNUC__
4042
#define __attribute__(x)

0 commit comments

Comments
 (0)