summaryrefslogtreecommitdiff
path: root/src/w32heap.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-03 21:07:19 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-03 21:07:19 +0000
commit5aa54c186c995960414241eb590d5fc80de64ec2 (patch)
treef7837d41ce296df631f229ce05d047cf86879270 /src/w32heap.c
parent6f5fe71097063143d0235a761000e874fa1d840a (diff)
downloademacs-5aa54c186c995960414241eb590d5fc80de64ec2.tar.gz
(sbrk): Allow request sizes to be different than the page size.
Diffstat (limited to 'src/w32heap.c')
-rw-r--r--src/w32heap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/w32heap.c b/src/w32heap.c
index aac860e769b..362a8d44628 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -143,8 +143,6 @@ sbrk (unsigned long increment)
else if (size > 0)
{
/* Sanity checks. */
- if (size % get_page_size () != 0)
- return NULL;
if ((data_region_end + size) >
(data_region_base + get_reserved_heap_size ()))
return NULL;