Fix build on SunOS (fmemopen).
From Jonathan Perkin <jperkin@NetBSD.org>.
This commit is contained in:
parent
1d887762e4
commit
783b0ef9ab
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ static void mtw(wchar_t * wtok, char * tok)
|
|||
|
||||
//#define fmemopen_alternative */ /* Uncomment this to test the fmemopen alternative in systems were fmemopen exists */
|
||||
|
||||
#if defined (WIN32) || defined (__APPLE__) || defined(__NetBSD__) // MINGW/MSYS, NetBSD, and MacOSX need it, at least for now
|
||||
#if defined (WIN32) || defined (__APPLE__) || defined(__NetBSD__) || defined(__sun) // MINGW/MSYS, NetBSD, and MacOSX need it, at least for now
|
||||
#define fmemopen_alternative
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue