A question about #define WIN32 in dmalloc.c

From: maer <eyou_maer@dont-contact.us>
Date: 1 Sep 2002 19:01:46 +0800

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

--http://www.eyou.com
--稳定可靠的免费电子信箱 语音邮件 移动书签 日历服务 网络存储...亿邮未尽
Received on Sun Sep 01 2002 - 05:01:50 MDT

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