Mercurial > hg > xemacs-beta
diff src/ntheap.c @ 707:a307f9a2021d
[xemacs-hg @ 2001-12-20 05:49:28 by andyp]
sync with 21-4-6-windows
author | andyp |
---|---|
date | Thu, 20 Dec 2001 05:49:48 +0000 |
parents | b39c14581166 |
children | 943eaba38521 |
line wrap: on
line diff
--- a/src/ntheap.c Wed Dec 19 00:40:26 2001 +0000 +++ b/src/ntheap.c Thu Dec 20 05:49:48 2001 +0000 @@ -291,13 +291,15 @@ sbrk (need_to_alloc); } -#if (_MSC_VER >= 1000) +#if ((_MSC_VER >= 1000) && (_MSC_VER < 1300)) /* MSVC 4.2 invokes these functions from mainCRTStartup to initialize a heap via HeapCreate. They are normally defined by the runtime, but we override them here so that the unnecessary HeapCreate call is not performed. */ +/* MSVC 7.0 does not allow you to redefine _heap_init or _heap_term. */ + int __cdecl _heap_init (void) {