mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix compilation of alloca.c under tcc.
This commit is contained in:
parent
db9855f2be
commit
823164c62c
@ -1,3 +1,8 @@
|
|||||||
|
2005-04-09 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* alloca.c: Include wget.h to be able to use xmalloc. In addition
|
||||||
|
to defining malloc to xmalloc, also define free to xfree.
|
||||||
|
|
||||||
2005-04-09 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-04-09 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* http-ntlm.c (ntlm_output): Use "char", not "unsigned char" for
|
* http-ntlm.c (ntlm_output): Use "char", not "unsigned char" for
|
||||||
|
@ -88,7 +88,9 @@ typedef char *pointer;
|
|||||||
Callers below should use malloc. */
|
Callers below should use malloc. */
|
||||||
|
|
||||||
#ifndef emacs
|
#ifndef emacs
|
||||||
|
#include "wget.h"
|
||||||
#define malloc xmalloc
|
#define malloc xmalloc
|
||||||
|
#define free xfree
|
||||||
#endif
|
#endif
|
||||||
extern pointer malloc ();
|
extern pointer malloc ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user