From ce6d159bd3304d8ee7b2186184283e80f45f2ab0 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 26 Feb 1996 22:07:51 +0000 Subject: [PATCH] Don't compile promptusr for Windows or Macintosh git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7550 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 4 ++++ src/lib/krb5/os/promptusr.c | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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 */ -- 2.26.2