* Makefile.am: Fix space vs. tab problem in install-data-local.
* Makefile.in: Regenerate. * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. (_EXPARM): New macro for defining a function parameter. * libc/include/stdlib.h: Use _EXPARM. * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
This commit is contained in:
		| @@ -1,3 +1,15 @@ | |||||||
|  | Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
|  | 	* Makefile.am: Fix space vs. tab problem in install-data-local. | ||||||
|  | 	* Makefile.in: Regenerate. | ||||||
|  |  | ||||||
|  | Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com> | ||||||
|  |  | ||||||
|  | 	* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. | ||||||
|  | 	(_EXPARM): New macro for defining a function parameter. | ||||||
|  | 	* libc/include/stdlib.h: Use _EXPARM. | ||||||
|  | 	* libc/stdlib/mallocr.c: Don't build cfree for Cygwin. | ||||||
|  |  | ||||||
| 2000-09-05  Manfred Hollstein  <manfredh@redhat.com> | 2000-09-05  Manfred Hollstein  <manfredh@redhat.com> | ||||||
|  |  | ||||||
|         * Makefile.am (install-data-local): Use optional $(DESTDIR) where |         * Makefile.am (install-data-local): Use optional $(DESTDIR) where | ||||||
|   | |||||||
| @@ -126,7 +126,8 @@ AM_MAKEFLAGS = \ | |||||||
| 	"DESTDIR=$(DESTDIR)" | 	"DESTDIR=$(DESTDIR)" | ||||||
|  |  | ||||||
|  |  | ||||||
| @HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc | @HAVE_DOC_TRUE@DOCDIR = \ | ||||||
|  | @HAVE_DOC_TRUE@doc | ||||||
|  |  | ||||||
| SUBDIRS = libc libm $(DOCDIR) . | SUBDIRS = libc libm $(DOCDIR) . | ||||||
|  |  | ||||||
| @@ -408,7 +409,7 @@ distdir: $(DISTFILES) | |||||||
| 	@for file in $(DISTFILES); do \ | 	@for file in $(DISTFILES); do \ | ||||||
| 	  if test -f $$file; then d=.; else d=$(srcdir); fi; \ | 	  if test -f $$file; then d=.; else d=$(srcdir); fi; \ | ||||||
| 	  if test -d $$d/$$file; then \ | 	  if test -d $$d/$$file; then \ | ||||||
| 	    cp -pr $$d/$$file $(distdir)/$$file; \ | 	    cp -pr $$/$$file $(distdir)/$$file; \ | ||||||
| 	  else \ | 	  else \ | ||||||
| 	    test -f $(distdir)/$$file \ | 	    test -f $(distdir)/$$file \ | ||||||
| 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | 	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | ||||||
|   | |||||||
| @@ -31,7 +31,13 @@ | |||||||
| #define	_SIGNED		signed | #define	_SIGNED		signed | ||||||
| #define	_DOTS		, ... | #define	_DOTS		, ... | ||||||
| #define _VOID void | #define _VOID void | ||||||
|  | #ifdef __CYGWIN__ | ||||||
|  | #define	_EXFUN(name, proto)		__cdecl name proto | ||||||
|  | #define	_EXPARM(name, proto)		(* __cdecl name) proto | ||||||
|  | #else | ||||||
| #define	_EXFUN(name, proto)		name proto | #define	_EXFUN(name, proto)		name proto | ||||||
|  | #define _EXPARM(name, proto)		(* name) proto | ||||||
|  | #endif | ||||||
| #define	_DEFUN(name, arglist, args)	name(args) | #define	_DEFUN(name, arglist, args)	name(args) | ||||||
| #define	_DEFUN_VOID(name)		name(_NOARGS) | #define	_DEFUN_VOID(name)		name(_NOARGS) | ||||||
| #define _CAST_VOID (void) | #define _CAST_VOID (void) | ||||||
|   | |||||||
| @@ -56,7 +56,7 @@ _PTR	_EXFUN(bsearch,(const _PTR __key, | |||||||
| 		       const _PTR __base, | 		       const _PTR __base, | ||||||
| 		       size_t __nmemb, | 		       size_t __nmemb, | ||||||
| 		       size_t __size, | 		       size_t __size, | ||||||
| 		       int _EXFUN((*_compar),(const _PTR, const _PTR)))); | 		       int _EXPARM(_compar,(const _PTR, const _PTR)))); | ||||||
| _PTR	_EXFUN(calloc,(size_t __nmemb, size_t __size)); | _PTR	_EXFUN(calloc,(size_t __nmemb, size_t __size)); | ||||||
| div_t	_EXFUN(div,(int __numer, int __denom)); | div_t	_EXFUN(div,(int __numer, int __denom)); | ||||||
| _VOID	_EXFUN(exit,(int __status) _ATTRIBUTE ((noreturn))); | _VOID	_EXFUN(exit,(int __status) _ATTRIBUTE ((noreturn))); | ||||||
|   | |||||||
| @@ -3198,7 +3198,7 @@ Void_t* cALLOc(RARG n, elem_size) RDECL size_t n; size_t elem_size; | |||||||
|  |  | ||||||
| #endif /* DEFINE_CALLOC */ | #endif /* DEFINE_CALLOC */ | ||||||
|  |  | ||||||
| #ifdef DEFINE_CFREE | #if defined(DEFINE_CFREE) && !defined(__CYGWIN__) | ||||||
|  |  | ||||||
| /* | /* | ||||||
|   |   | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user