Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

check if MPI_ERR_SYSRESOURCE exists

  • Loading branch information...
commit 828ddf2389057a2c549d6b73d58b7e4ce4815772 1 parent 1a9ecc0
@seiya authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  ext/mpi/mpi.c
View
2  ext/mpi/mpi.c
@@ -129,7 +129,9 @@ check_error(int error)
CAE_ERR(UNSUPPORTED_OPERATION);
CAE_ERR(WIN);
CAE_ERR(LASTCODE);
+#ifdef MPI_ERR_SYSRESOURCE
CAE_ERR(SYSRESOURCE);
+#endif
default:
rb_raise(rb_eRuntimeError, "unknown error");
}

0 comments on commit 828ddf2

Please sign in to comment.
Something went wrong with that request. Please try again.