From: Theodore Tso Date: Mon, 26 Feb 1996 22:07:51 +0000 (+0000) Subject: Don't compile promptusr for Windows or Macintosh X-Git-Tag: krb5-1.0-beta6~448 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ce6d159bd3304d8ee7b2186184283e80f45f2ab0;p=krb5.git Don't compile promptusr for Windows or Macintosh git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7550 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index ce3b729af..76441b625 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +Mon Feb 26 17:04:26 1996 Theodore Y. Ts'o + + * promptusr.c: Don't compile promptusr for Windows or Macintosh. + Sat Feb 24 18:57:56 1996 Theodore Y. Ts'o * ktdefname.c (krb5_kt_default_name): Under Windows, assume that diff --git a/src/lib/krb5/os/promptusr.c b/src/lib/krb5/os/promptusr.c index a15cd8710..90ceaccec 100644 --- a/src/lib/krb5/os/promptusr.c +++ b/src/lib/krb5/os/promptusr.c @@ -3,10 +3,13 @@ */ #include "k5-int.h" +#if !defined(_MSDOS) && !defined(_MACINTOSH) #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include #include @@ -159,6 +162,4 @@ main(int argc, char **argv) #endif - - - +#endif /* !_MSODS || _!MACINTOSH */