summaryrefslogtreecommitdiff
path: root/libc/bcc/heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bcc/heap.c')
-rw-r--r--libc/bcc/heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bcc/heap.c b/libc/bcc/heap.c
index 2cab16e..c5b2457 100644
--- a/libc/bcc/heap.c
+++ b/libc/bcc/heap.c
@@ -49,7 +49,7 @@ has_change:
jb Enomem
sbrk_ok:
-#ifndef __MSDOS__
+#if !defined(__MSDOS__) && !defined(__STANDALONE__)
push ax ! MSDOS `kernel` doesn`t care
call ___brk ! Tell the kernel
test ax,ax
@@ -96,7 +96,7 @@ Enomem:
mov ax,#-1
ret
brk_ok:
-#ifndef __MSDOS__
+#if !defined(__MSDOS__) && !defined(__STANDALONE__)
push ax
call ___brk ! Tell the kernel
test ax,ax