Define fmemopen_alternative for Mac OS X.
This commit is contained in:
parent
1f1304c662
commit
3bc68ecf72
1 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ char *strcasestr(const char *haystack, const char *needle)
|
|||
|
||||
#include <locale.h>
|
||||
|
||||
#if defined __BEOS__ || defined __HAIKU__
|
||||
#if defined __BEOS__ || defined __HAIKU__ || defined __APPLE__
|
||||
#include <wchar.h>
|
||||
#include <stdbool.h>
|
||||
#define FALSE false
|
||||
|
|
@ -501,7 +501,7 @@ extern WrapperData macosx;
|
|||
|
||||
//#define fmemopen_alternative */ /* Uncomment this to test the fmemopen alternative in systems were fmemopen exists */
|
||||
|
||||
#if defined (__HAIKU__) || defined (WIN32) // Haiku and MINGW/MSYS need it, at least for now
|
||||
#if defined (__HAIKU__) || defined (WIN32) || defined (__APPLE__) // Haiku, MINGW/MSYS, and MacOSX need it, at least for now
|
||||
#define fmemopen_alternative
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue