1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2003-09-03  Jakub Jelinek  <jakub@redhat.com>

	* intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
	function-like macros.
This commit is contained in:
Ulrich Drepper
2003-09-03 17:45:50 +00:00
parent 72ef277e5a
commit 9c42bc3b9e
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-09-03 Jakub Jelinek <jakub@redhat.com>
* intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
function-like macros.
2003-09-03 Ulrich Drepper <drepper@redhat.com> 2003-09-03 Ulrich Drepper <drepper@redhat.com>
* grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions. * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions.

View File

@ -454,11 +454,12 @@ char *alloca ();
/* Rename the non ISO C functions. This is required by the standard /* Rename the non ISO C functions. This is required by the standard
because some ISO C functions will require linking with this object because some ISO C functions will require linking with this object
file and the name space must not be polluted. */ file and the name space must not be polluted. */
# define open open_not_cancel_2 # define open(name, flags) open_not_cancel_2 (name, flags)
# define close close_not_cancel_no_status # define close(fd) close_not_cancel_no_status (fd)
# define read read_not_cancel # define read(fd, buf, n) read_not_cancel (fd, buf, n)
# define mmap __mmap # define mmap(addr, len, prot, flags, fd, offset) \
# define munmap __munmap __mmap (addr, len, prot, flags, fd, offset)
# define munmap(addr, len) __munmap (addr, len)
#endif #endif
/* For those losing systems which don't have `alloca' we have to add /* For those losing systems which don't have `alloca' we have to add