Commit 3d42903f authored by Kevin Harms's avatar Kevin Harms
Browse files

provide mac workaround for fmemopen code

parent 010ab8a3
......@@ -37,7 +37,11 @@ int configuration_load (const char *filepath,
rc = MPI_File_close(&fh);
assert(rc == MPI_SUCCESS);
#ifdef __APPLE__
f = fopen(filepath, "r");
f = fmemopen(txtdata, txtsize, "rb");
*handle = txtfile_openStream(f, &error);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment