From 476f30b02aae10efead5bca1f8c3c19f0c78d8e5 Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Mon, 18 Nov 2024 11:47:02 -0800 Subject: [PATCH] Add _HShift for OWC huge pointer support --- libc/watcom/syscall/crt0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/watcom/syscall/crt0.c b/libc/watcom/syscall/crt0.c index ef47175e9..0afc12356 100644 --- a/libc/watcom/syscall/crt0.c +++ b/libc/watcom/syscall/crt0.c @@ -45,6 +45,7 @@ char **__argv; char *__program_filename; char **environ; unsigned int __stacklow; +unsigned char _HShift = 12; /* huge pointer support required by pia.asm */ static unsigned int _SP(void); #pragma aux _SP = __value [__sp]