build fix

This commit is contained in:
davidly 2024-07-01 10:40:45 -07:00
parent c2ce01a4e3
commit f7dfc64375
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,10 @@
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#ifdef INTELC
#include <stdlib.h>
#endif
#ifdef WATCOM #ifdef WATCOM
#include <malloc.h> #include <malloc.h>
#include <process.h> #include <process.h>

View File

@ -5,11 +5,11 @@ del %1.obj
rem use "ntvdm -h cl /help" to get command-line arguments rem use "ntvdm -h cl /help" to get command-line arguments
rem ntvdm cl /Ox /DDOSTIME /AS /Gc /Gs /Ze -I inc -I inc\sys -L lib %1.c rem ntvdm cl /Ox /DDOSTIME /AS /Gc /Gs /Ze -I inc -I inc\sys -L lib %1.c
ntvdm cl /Ox /DDOSTIME /AS /Gs /Ze -I inc -I inc\sys -L lib %1.c ntvdm -r:. cl /Ox /DDOSTIME /AS /Gs /Ze -I inc -I inc\sys -L lib %1.c
if %ERRORLEVEL% NEQ 0 goto alldone if %ERRORLEVEL% NEQ 0 goto alldone
rem use "ntvdm link /help" to get command-line arguments rem use "ntvdm link /help" to get command-line arguments
ntvdm -e:lib=lib -h -t link %1,,%1,slibfp ntvdm -r:. -e:lib=lib -h -t link %1,,%1,slibfp
if %ERRORLEVEL% NEQ 0 goto alldone if %ERRORLEVEL% NEQ 0 goto alldone
ntvdm -p %1 ntvdm -p %1