Merge "Only the Mac doesn't have open_memstream."
This commit is contained in:
commit
a59b6ac697
2 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef HAVE_OPEN_MEMSTREAM
|
||||
#if defined(__APPLE__)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -31,6 +31,6 @@ FILE* open_memstream(char** bufp, size_t* sizep);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /*!HAVE_OPEN_MEMSTREAM*/
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
#endif /*__CUTILS_OPEN_MEMSTREAM_H__*/
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef HAVE_OPEN_MEMSTREAM
|
||||
#if defined(__APPLE__)
|
||||
|
||||
/*
|
||||
* Implementation of the POSIX open_memstream() function, which Linux has
|
||||
|
|
@ -378,4 +378,4 @@ DONE
|
|||
|
||||
#endif
|
||||
|
||||
#endif /*!HAVE_OPEN_MEMSTREAM*/
|
||||
#endif /* __APPLE__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue