#ifdef __MSDOS__
char TTY_NAME[] = "con";
+#define MKNOD_MISSING
+#define UTILS_MISSING
+#define VALLOC_MISSING
+
#else /* not __MSDOS__ */
char TTY_NAME[] ="/dev/tty";
+#define UTILS_MISSING
+#define CK_PIPE_MISSING
+
#endif /* not __MSDOS__ */
/* End of system-dependent #ifdefs */
-#ifndef HAVE_VALLOC
+#ifdef VALLOC_MISSING
/*
* valloc() does a malloc() on a page boundary. On some systems,
* this can make large block I/O more efficient.
}
#endif
-#ifndef HAVE_MKDIR
+#ifdef MKDIR_MISSING
/*
* Written by Robert Rother, Mariah Corporation, August 1985.
*
}
#endif
-#ifndef HAVE_RENAME
+#ifdef RENAME_MISSING
/* Rename file FROM to file TO.
Return 0 if successful, -1 if not. */
}
#endif
-#ifndef HAVE_BZERO
+#ifdef BZERO_MISSING
/* Minix has bcopy but not bzero, and no memset. Thanks, Andy. */
void
bzero (s1, n)
}
#endif
-#ifndef HAVE_MKNOD
+#ifdef MKNOD_MISSING
#ifdef __MSDOS__
typedef int dev_t;
#endif
{
return 0;
}
-#endif /* !HAVE_MKNOD */
+#endif /* MKNOD_MISSING */
#ifdef __TURBOC__
#include <time.h>
}
#endif
+#ifdef UTILS_MISSING
/* Stash argv[0] here so panic will know what the program is called */
char *myname = 0;
*to_there++='\0';
return ret;
}
+#endif
+#ifdef CK_PIPE_MISSING
void ck_pipe(pipes)
int *pipes;
{
}
}
+#endif
+
+#ifdef STRSTR_MISSING
-#ifndef HAVE_STRSTR
/*
* strstr - find first occurrence of wanted in s
*/
}
#endif
-#infdef HAVE_FTRUNCATE
+#ifdef FTRUNCATE_MISSING
#ifdef F_CHSIZE
int
extern FILE *msg_file;
-#if defined (HAVE_VPRINTF) && __STDC__
+#if !defined (VPRINTF_MISSING) && defined (__STDC__)
#include <stdarg.h>
void
perror(" ");
fflush(stderr);
}
-#endif /* HAVE_VPRINTF and __STDC__ */
+#endif /* not VPRINTF_MISSING or __STDC__ */
-#if defined(HAVE_VPRINTF) && !__STDC__
+#if !defined(VPRINTF_MISSING) && !defined(__STDC__)
#include <varargs.h>
void
msg(str,va_alist)
perror(" ");
fflush(stderr);
}
-#endif /* HAVE_VPRINTF and not __STDC__ */
+#endif /* not VPRINTF_MISSING and not __STDC__ */
-#if !defined(HAVE_VPRINTF) && defined(HAVE_DOPRNT)
+#if defined(VPRINTF_MISSING) && !defined(DOPRNT_MISSING)
void
msg(str,args)
char *str;
perror(" ");
fflush(stderr);
}
-#endif /* !HAVE_VPRINTF and HAVE_DOPRNT */
+#endif /* VPRINTF_MISSING and not DOPRNT_MISSING */
-#if !defined(HAVE_VPRINTF) && !defined(HAVE_DOPRNT)
+#if defined(VPRINTF_MISSING) && defined(DOPRNT_MISSING)
void msg(str,a1,a2,a3,a4,a5,a6)
char *str;
{
errno=save_e;
perror(" ");
}
-#endif /* !HAVE_VPRINTF and !HAVE_DOPRNT */
+#endif /* VPRINTF_MISSING and DOPRNT_MISSING */