Re: A question about #define WIN32 in dmalloc.c

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 01 Sep 2002 15:33:27 +0200

Hi,

Il 13.01 01/09/2002 maer ha scritto:
>Hi, everyone!
>
>Look at the source codes in dmalloc.c,
>
>--------
>/* #define WIN32 */
>#ifdef WIN32
>#define MORECORE wsbrk
>#endif
>--------
>
>Such is the comments,
>
>--------
>WIN32 (default: undefined)
>Define this on MS win (95, nt) platforms to compile in sbrk emulation.
>--------
>
>I have two questions,
>
>1. What means WIN32? When the variable "WIN32" becomes
>defined? When it is not defined?
>
>2. What means "sbrk" in the comment? What means "wsbrk"?
>
>Cheers,
>Joe
>

No idea, but dmalloc.c is not used on Squid Windows native port.
I think that this comes from the original dmalloc.c included in Squid project.

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sun Sep 01 2002 - 07:33:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:24 MST