Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/dsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2030,10 +2030,6 @@ LispPTR COM_writepage(register LispPTR *args)
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
Expand All @@ -2055,8 +2051,6 @@ LispPTR COM_writepage(register LispPTR *args)
word_swap_page((DLword *)bufp, (count + 3) >> 2);
#endif /* BYTESWAP */

#endif /* DEMO */

return (ATOM_T);
}

Expand Down
3 changes: 0 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
5 changes: 0 additions & 5 deletions src/vmemsave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -203,7 +199,6 @@ LispPTR vmem_save0(LispPTR *args)
}
return (vmem_save(sysout));
}
#endif /* DEMO */
}

/************************************************************************/
Expand Down