2000-01-26  David McCann  <david.mccann@alcatel.at>

	* libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
This commit is contained in:
Ulrich Drepper 2000-01-27 01:40:33 +00:00
parent 31c7d52c94
commit af50797929
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-01-26 David McCann <david.mccann@alcatel.at>
* libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
2000-01-25 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel

View File

@ -640,6 +640,12 @@ extern void (*_IO_cleanup_registration_needed) __PMT ((void));
if ((_B) == NULL) \
return (_R); \
} while (0)
# define ALLOC_WBUF(_B, _S, _R) \
do { \
(_B) = (wchar_t *)malloc(_S); \
if ((_B) == NULL) \
return (_R); \
} while (0)
#endif /* _G_HAVE_MMAP */