X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fport.c;h=10ec32ed72884f90e8e4cef0266e4d86af8515e6;hb=84378fa99ae3ce256fea9eb25d8ae999d1c91fdf;hp=aab6039cdaa773ae2de2b6e258de77e921f90c05;hpb=456ca25e79337b24d5e5c87e4f414fb1a1e2fb5c;p=chaz%2Ftar diff --git a/src/port.c b/src/port.c index aab6039..10ec32e 100644 --- a/src/port.c +++ b/src/port.c @@ -45,12 +45,12 @@ extern long baserec; #ifdef __MSDOS__ char TTY_NAME[] = "con"; - -#else /* not __MSDOS__ */ - +#define HAVE_STRSTR +#define HAVE_RENAME +#define HAVE_MKDIR +#else char TTY_NAME[] = "/dev/tty"; - -#endif /* not __MSDOS__ */ +#endif /* End of system-dependent #ifdefs */ @@ -1001,6 +1001,7 @@ un_quote_string (string) return ret; } +#ifndef __MSDOS__ void ck_pipe (pipes) int *pipes; @@ -1011,7 +1012,7 @@ ck_pipe (pipes) exit (EX_SYSTEM); } } - +#endif /* !__MSDOS__ */ #ifndef HAVE_STRSTR /* @@ -1204,6 +1205,7 @@ msg (str, args) void msg_perror (str, args) char *str; + int args; { int save_e;