A question about #define WIN32 and "sbrk"
-
Hi, everyone! Look at the source codes, -------- /* #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"? Btw: the software is written for both Windows and Linux platforms. Cheers, George
-
Hi, everyone! Look at the source codes, -------- /* #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"? Btw: the software is written for both Windows and Linux platforms. Cheers, George
Please only post in one forum... This question don't have anything to do with either Managed C++ or ATL/WTL/STL :suss: - Anders Money talks, but all mine ever says is "Goodbye!"
-
Please only post in one forum... This question don't have anything to do with either Managed C++ or ATL/WTL/STL :suss: - Anders Money talks, but all mine ever says is "Goodbye!"