ms-dos: remove lingering references

This commit is contained in:
Daniel Kochmański 2016-03-11 12:05:33 +01:00
parent edfc2ba785
commit 562b30dff0
7 changed files with 3 additions and 45 deletions

View file

@ -675,7 +675,7 @@ init_alloc(void)
#ifdef USE_MMAP
real_maxpage = MAXPAGE;
#elif defined(MSDOS) || defined(__CYGWIN__)
#elif defined(__CYGWIN__)
real_maxpage = MAXPAGE;
#elif !defined(HAVE_ULIMIT_H)
{
@ -697,7 +697,7 @@ init_alloc(void)
#else /* HAVE_ULIMIT */
real_maxpage= ulimit(UL_GMEMLIM)/LISP_PAGESIZE;
if (real_maxpage > MAXPAGE) real_maxpage = MAXPAGE;
#endif /* USE_MMAP, MSDOS, or HAVE_ULIMIT */
#endif /* USE_MMAP or HAVE_ULIMIT */
#ifdef USE_MMAP
heap_start = NULL;

View file

@ -1,12 +0,0 @@
/* -*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*- */
/* vim: set filetype=c tabstop=8 shiftwidth=4 expandtab: */
#define DUM(a) int a(int n) {}
DUM(alarm)
DUM(getpid)
DUM(getuid)
DUM(popen)
DUM(pclose)
DUM(getpwuid)
DUM(getpwnam)

View file

@ -1,21 +0,0 @@
/* -*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*- */
/* vim: set filetype=c tabstop=8 shiftwidth=4 expandtab: */
#include <sys/times.h>
#include <sys/resource.h>
#ifdef __ZTC__
#define HZ 100
#endif
times(struct tms *x)
{ int hz;
struct rusage ru;
getrusage(RUSAGE_SELF,&ru);
hz = ru.ru_utime.tv_sec * HZ +
(ru.ru_utime.tv_usec * HZ)/1000000;
x->tms_utime = hz;
x->tms_stime = hz;
return 0;
}

View file

@ -49,9 +49,6 @@ ecl_def_string_array(feature_names,static,const) = {
#ifdef SYSV
ecl_def_string_array_elt("SYSTEM-V"),
#endif
#ifdef MSDOS
ecl_def_string_array_elt("MS-DOS"),
#endif
#if defined(__MINGW32__)
ecl_def_string_array_elt("MINGW32"),
ecl_def_string_array_elt("WIN32"),

View file

@ -56,7 +56,7 @@
# define STDOUT_FILENO 1
# define STDERR_FILENO 2
# define HAVE_SELECT
#elif defined(HAVE_SYS_IOCTL_H) && !defined(MSDOS) && !defined(cygwin)
#elif defined(HAVE_SYS_IOCTL_H) && !defined(cygwin)
# include <sys/ioctl.h>
#endif

View file

@ -23,11 +23,7 @@ RM = @RM@
HDIR = @HDIR@
#ifdef MSDOS
UTILS = dpp.exe rsym.exe
#else
UTILS = dpp rsym
#endif
all: $(UTILS)

View file

@ -116,8 +116,6 @@
"c/compiler.d"
"c/cons.d"
"c/disassembler.d"
"c/dosdummy.d"
"c/dostimes.d"
"c/ecl_constants.h"
"c/ecl_features.h"
"c/error.d"