mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 08:33:48 +00:00
Remove #ifdef DEMO. (#116)
This commit is contained in:
parent
254550d111
commit
d3cb239091
@ -2030,10 +2030,6 @@ sklp2:
|
||||
return (NIL);
|
||||
}
|
||||
|
||||
#ifdef DEMO
|
||||
/* Do nothing if this is a demo emulator--not allowed to write files. */
|
||||
#else
|
||||
|
||||
/* OK to write the page. */
|
||||
|
||||
#ifdef BYTESWAP
|
||||
@ -2055,8 +2051,6 @@ wlp:
|
||||
word_swap_page((DLword *)bufp, (count + 3) >> 2);
|
||||
#endif /* BYTESWAP */
|
||||
|
||||
#endif /* DEMO */
|
||||
|
||||
return (ATOM_T);
|
||||
}
|
||||
|
||||
|
||||
@ -743,9 +743,6 @@ void print_info_lines() {
|
||||
#else
|
||||
printf("Creation date: %s", ctime(&MDate));
|
||||
#endif
|
||||
#ifdef DEMO
|
||||
printf("Demonstration emulator, not for commercial use\n");
|
||||
#endif /* DEMO */
|
||||
#ifdef LPSOLVE
|
||||
printf("Contains lp_solve LP solver.\n");
|
||||
#endif /* LPSOLVE */
|
||||
|
||||
@ -160,10 +160,6 @@ LispPTR vmem_save0(LispPTR *args)
|
||||
|
||||
Lisp_errno = &Dummy_errno;
|
||||
|
||||
#ifdef DEMO
|
||||
return FILECANNOTOPEN;
|
||||
#else
|
||||
|
||||
if ((args[0] != NIL) && lispstringP(args[0])) {
|
||||
/* Check of lispstringP is safer for LispStringToCString */
|
||||
LispStringToCString(args[0], pathname, MAXPATHLEN);
|
||||
@ -203,7 +199,6 @@ LispPTR vmem_save0(LispPTR *args)
|
||||
}
|
||||
return (vmem_save(sysout));
|
||||
}
|
||||
#endif /* DEMO */
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user