Commit 509ff4ee authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

fixups.h: added an explicit hack so binaries created on OS X Lion can be...

fixups.h: added an explicit hack so binaries created on OS X Lion can be executed correctly on Snow Leopard
(cherry picked from commit 679830ea)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bd759ad7
......@@ -88,7 +88,11 @@ int putc_unlocked (int, FILE *);
int putchar_unlocked (int);
#endif
#ifndef HAVE_GETDELIM
/* we always need our implementation on Darwin, since native support for getline
* was added lately to Darwin 11 (OS X Lion) only.
* However, we want binaries created on this OS to be executable on previous
* releases. */
#if !defined HAVE_GETDELIM || defined(__APPLE__)
ssize_t getdelim (char **, size_t *, int, FILE *);
ssize_t getline (char **, size_t *, FILE *);
#endif
......
Markdown is supported
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