Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
3d42903f
Commit
3d42903f
authored
Aug 14, 2013
by
Kevin Harms
Browse files
provide mac workaround for fmemopen code
parent
010ab8a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/configuration.c
View file @
3d42903f
...
...
@@ -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"
);
#else
f
=
fmemopen
(
txtdata
,
txtsize
,
"rb"
);
#endif
assert
(
f
);
*
handle
=
txtfile_openStream
(
f
,
&
error
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment