From 9b2f90f549cf089df6a701f8ab0718fc36678334 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 5 Jan 1999 05:39:07 +0000 Subject: [PATCH] changepw.c: Add a test for _WIN16 as well as _WIN32 for sockets workaround (in case we do want to build the 16 bit library again someday) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11101 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 6 ++++++ src/lib/krb5/os/changepw.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index d142ca0bf..c94a4f789 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 22 01:22:24 1998 Theodore Y. Ts'o + + * changepw.c: Add a test for _WIN16 as well as _WIN32 for sockets + workaround (in case we do want to build the 16 bit library + again someday) + Sat Dec 5 01:12:25 1998 Theodore Y. Ts'o * localaddr.c: Added missing KRB5_DLLIMP and KRB5_CALLCONF macros diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index cd447c0a3..41cad5fa9 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -30,7 +30,7 @@ #include /* Win32 defines. */ -#if defined(_WIN32) && !defined(__CYGWIN32__) +#if defined(_WIN16) || (defined(_WIN32) && !defined(__CYGWIN32__)) #ifndef ECONNABORTED #define ECONNABORTED WSAECONNABORTED #endif -- 2.26.2