diff options
Diffstat (limited to 'libcutils/open_memstream.c')
-rw-r--r-- | libcutils/open_memstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcutils/open_memstream.c b/libcutils/open_memstream.c index 5b4388a..1c37321 100644 --- a/libcutils/open_memstream.c +++ b/libcutils/open_memstream.c @@ -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__ */ |